Bug fix for spl autoload table array part

arrays cannot be loaded with the auto load method, fallback to old load
method
This commit is contained in:
Clemens Schwaighofer
2016-01-05 18:36:26 +09:00
parent a447fc2ef6
commit 0ce1432513
2 changed files with 45 additions and 7 deletions

View File

@@ -264,6 +264,7 @@
'',
LIBS,
SMARTY,
TABLE_ARRAYS,
__DIR__.'/'.LIBS,
__DIR__.'/'.SMARTY
);
@@ -273,9 +274,10 @@
if (file_exists($folder.$include_file))
{
require_once($folder.$include_file);
return;
return true;
}
}
return false;
}
?>