diff --git a/classes/autoload_sysgen.php b/classes/autoload_sysgen.php index b0f2b7e..8634deb 100644 --- a/classes/autoload_sysgen.php +++ b/classes/autoload_sysgen.php @@ -12,7 +12,11 @@ if (!function_exists('sysgen_autoload')) { function sysgen_autoload($class_name) { - require_once $class_name . '.class.php'; + if ($class_name =='TDAO') { + return false; + }else{ + require_once $class_name . '.class.php'; + } } spl_autoload_register('sysgen_autoload'); }