Route path Fix

This commit is contained in:
JonatanRek 2020-04-21 15:20:29 +02:00
parent 216db28e60
commit bfebe6b534
1 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,6 @@ Class Autoloader {
foreach ($files as $key => $file) { foreach ($files as $key => $file) {
if (strtolower($file->getFilename()) === strtolower($filename) && $file->isReadable()) { if (strtolower($file->getFilename()) === strtolower($filename) && $file->isReadable()) {
echo $file->getPathname();
include_once $file->getPathname(); include_once $file->getPathname();
return; return;
} }
@ -64,4 +63,4 @@ $userManager = new UserManager();
// import routes // import routes
require_once './Routes.php'; require_once '../app/Routes.php';