Aleksander Machniak
2013-02-19 2187b2b7d845f6c5b50e380447c034c830454e75
Revert "Make autoloading of the framework classes work from any location".
Allow loading rcube_* classes from other locations (for e.g. managesieve plugin).

This reverts commit e4394c95e0a39607f4fdbd427b249b1e611ca0ff.
1 files modified
6 ■■■■ changed files
program/lib/Roundcube/bootstrap.php 6 ●●●● patch | view | raw | blame | history
program/lib/Roundcube/bootstrap.php
@@ -470,17 +470,17 @@
            '/Mail_(.+)/',
            '/Net_(.+)/',
            '/Auth_(.+)/',
            '/^utf8$/',
            '/^html_.+/',
            '/^rcube(.*)/',
            '/^utf8$/',
        ),
        array(
            'Mail/\\1',
            'Net/\\1',
            'Auth/\\1',
            'Roundcube/html',
            'Roundcube/rcube\\1',
            'utf8.class',
            RCUBE_LIB_DIR . '/html',
            RCUBE_LIB_DIR . '/rcube\\1',
        ),
        $classname
    );