|
|
@ -34,8 +34,22 @@
|
|
|
|
function __autoload($classname)
|
|
|
|
function __autoload($classname)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$filename = preg_replace(
|
|
|
|
$filename = preg_replace(
|
|
|
|
array('/MDB2_(.+)/', '/Mail_(.+)/', '/Net_(.+)/', '/^html_.+/', '/^utf8$/'),
|
|
|
|
array(
|
|
|
|
array('MDB2/\\1', 'Mail/\\1', 'Net/\\1', 'html', 'utf8.class'),
|
|
|
|
'/MDB2_(.+)/',
|
|
|
|
|
|
|
|
'/Mail_(.+)/',
|
|
|
|
|
|
|
|
'/Net_(.+)/',
|
|
|
|
|
|
|
|
'/Auth_(.+)/',
|
|
|
|
|
|
|
|
'/^html_.+/',
|
|
|
|
|
|
|
|
'/^utf8$/'
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
array(
|
|
|
|
|
|
|
|
'MDB2/\\1',
|
|
|
|
|
|
|
|
'Mail/\\1',
|
|
|
|
|
|
|
|
'Net/\\1',
|
|
|
|
|
|
|
|
'Auth/\\1',
|
|
|
|
|
|
|
|
'html',
|
|
|
|
|
|
|
|
'utf8.class'
|
|
|
|
|
|
|
|
),
|
|
|
|
$classname
|
|
|
|
$classname
|
|
|
|
);
|
|
|
|
);
|
|
|
|
include_once $filename. '.php';
|
|
|
|
include_once $filename. '.php';
|
|
|
|