Route path Fix
This commit is contained in:
parent
216db28e60
commit
bfebe6b534
@ -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';
|
||||||
|
Loading…
Reference in New Issue
Block a user