Make autoloading of the framework classes work from any location

pull/15/head^2
Thomas Bruederli 12 years ago
parent eafb68b321
commit e4394c95e0

@ -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