Implement a bunch of stuff

This commit is contained in:
2024-02-03 16:08:26 +01:00
parent e3722e3ef7
commit 15964cf109
15 changed files with 690 additions and 242 deletions

View File

@@ -57,7 +57,7 @@ function initRouter(): bool
}
else{
if($_SERVER["REQUEST_METHOD"] == "POST"){
$routerRequest["type"] = "api";
$routerRequest["type"] = "api";
}
if(empty($routerRequest["type"])){
$routerRequest["type"] = "page";