Add some more account actions,

Add return types,
Add some stuff
This commit is contained in:
2024-01-31 23:07:12 +01:00
parent 3d22ff555e
commit 8ba1637176
15 changed files with 210 additions and 47 deletions

View File

@@ -16,7 +16,7 @@ if(initRouter()) {
session_set_cookie_params(0, '/', "." . $routerRequest["domain"] . "." . $routerRequest["tld"], true, true);
session_start();
if($routerRequest["type"] == "api") {
echo getEndpoint($routerRequest["page_name"], $_REQUEST);
echo getEndpoint($routerRequest["page_name"]);
}elseif ($routerRequest["type"] == "page") {
/** @noinspection PhpArrayIsAlwaysEmptyInspection */