More changes

This commit is contained in:
ahwelp
2020-04-16 22:13:47 -03:00
parent 9548157f02
commit 5840d1338b
11 changed files with 148 additions and 102 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ spl_autoload_register(function ($class_name) {
$path[sizeof($path)-1] = '';
$path = strtolower(implode(DIRECTORY_SEPARATOR, $path));
$path = strtolower(DIR_ROOT. implode(DIRECTORY_SEPARATOR, $path));
if(is_file($path . $fileName . '.php')){
return include $path . $fileName . '.php';