Originally Posted by
DrByte
If you remove your class file (and any other related files you've added as part of this class), does the problem disappear? If so, then you know where your problem resides.
I have cut the code to minimum:
In the config.xxx.php
PHP Code:
<?php
if (!defined('IS_ADMIN_FLAG')) {
die('Illegal Access');
}
$autoLoadConfig[190][] = array('autoType'=>'class',
'loadFile'=>'test.php');
$autoLoadConfig[200][] = array('autoType'=>'classInstantiate',
'className'=>'test',
'objectName'=>'zc_test');
?>
In the class file:
PHP Code:
<?php
if (!defined('IS_ADMIN_FLAG')) {
die('Illegal Access');
}
class test extends base {
}
?>
It does not solve the problem.
Bookmarks