More changes
This commit is contained in:
+1
-1
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user