Skip to content

Commit

Permalink
🐛 #8 problema do autoload
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Jun 17, 2018
1 parent 8f085da commit c05e329
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion classes/autoload_sysgen.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

0 comments on commit c05e329

Please sign in to comment.