Routing test 1

This commit is contained in:
2020-06-19 14:12:07 +02:00
parent 077fe68914
commit 78c5934480
10 changed files with 136 additions and 23 deletions

View File

@@ -85,6 +85,7 @@
function getClassPath($class, $suffix=true) {
$path = str_replace('\\', '/', $class);
if (startsWith($path, "/")) $path = substr($path, 1);
$suffix = ($suffix ? ".class" : "");
return "core/$path$suffix.php";
}