diff --git a/index.php b/index.php index bf9ffebe..e4e97dca 100644 --- a/index.php +++ b/index.php @@ -26,6 +26,8 @@ spl_autoload_register( return; } + $absoluteNamespace = str_replace('\\\\', '/', $absoluteNamespace); + $filepath = ROOT . '/src/classes/' . $absoluteNamespace . '.php'; require $filepath;