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 e4394c95e0.
pull/59/head
Aleksander Machniak 12 years ago
parent 7bba0032fe
commit 2187b2b7d8

@ -470,17 +470,17 @@ function rcube_autoload($classname)
'/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
);

Loading…
Cancel
Save