Fixed a few things

This commit is contained in:
2019-09-30 14:40:22 +02:00
parent 929a848b23
commit 2f58e65ad3
6 changed files with 9 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ function autoload($className){
$fileName .= str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php';
//echo $fileName;
require ROOT_DIR . '\\' . $fileName;
require ROOT_DIR . '/' . $fileName;
}
spl_autoload_register('autoload');