fix: attempt to autoload propery

This commit is contained in:
grandeljay 2023-04-20 18:06:17 +02:00
parent 554b370f79
commit c0373fefe1

View file

@ -26,6 +26,8 @@ spl_autoload_register(
return;
}
$absoluteNamespace = str_replace('\\\\', '/', $absoluteNamespace);
$filepath = ROOT . '/src/classes/' . $absoluteNamespace . '.php';
require $filepath;