frontend, added user active flag, localization

This commit is contained in:
2024-03-30 11:22:59 +01:00
parent 9fc0a19f59
commit 0125c83bea
20 changed files with 220 additions and 92 deletions

View File

@@ -65,7 +65,13 @@ if ($installation) {
is_string($_GET["error"]) && preg_match("/^\d+$/", $_GET["error"])) {
$response = $router->returnStatusCode(intval($_GET["error"]));
} else {
$response = $router->run($requestedUri);
try {
$response = $router->run($requestedUri);
} catch (\Error $e) {
http_response_code(500);
$router->getLogger()->error($e->getMessage());
$router->returnStatusCode(500);
}
}
}