Aleksander Machniak
2014-12-09 ecf6c79d00a8ed722a6664f276a0f015de4d13c2
program/lib/Roundcube/bootstrap.php
@@ -58,7 +58,7 @@
define('RCUBE_CHARSET', 'UTF-8');
if (!defined('RCUBE_LIB_DIR')) {
    define('RCUBE_LIB_DIR', dirname(__FILE__).DIRECTORY_SEPARATOR);
    define('RCUBE_LIB_DIR', __DIR__ . '/');
}
if (!defined('RCUBE_INSTALL_PATH')) {
@@ -408,7 +408,7 @@
if (!function_exists('idn_to_utf8'))
{
    function idn_to_utf8($domain, $flags=null)
    function idn_to_utf8($domain)
    {
        static $idn, $loaded;
@@ -430,7 +430,7 @@
if (!function_exists('idn_to_ascii'))
{
    function idn_to_ascii($domain, $flags=null)
    function idn_to_ascii($domain)
    {
        static $idn, $loaded;
@@ -464,16 +464,14 @@
            '/Net_(.+)/',
            '/Auth_(.+)/',
            '/^html_.+/',
            '/^rcube(.*)/',
            '/^utf8$/',
            '/^rcube(.*)/'
        ),
        array(
            'Mail/\\1',
            'Net/\\1',
            'Auth/\\1',
            'Roundcube/html',
            'Roundcube/rcube\\1',
            'utf8.class',
            'Roundcube/rcube\\1'
        ),
        $classname
    );