fix: attempt to autoload propery
This commit is contained in:
parent
554b370f79
commit
c0373fefe1
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ spl_autoload_register(
|
|||
return;
|
||||
}
|
||||
|
||||
$absoluteNamespace = str_replace('\\\\', '/', $absoluteNamespace);
|
||||
|
||||
$filepath = ROOT . '/src/classes/' . $absoluteNamespace . '.php';
|
||||
|
||||
require $filepath;
|
||||
|
|
Loading…
Reference in a new issue