exit on redirect

This commit is contained in:
Bruno Rybársky 2024-02-02 16:00:21 +01:00
parent b903a2db02
commit 033ab0cffd

@ -51,6 +51,7 @@ function initRouter(): bool
$routerRequest["page_name"];
// Redirect with default page name
header("Location: $redirectAddress");
exit();
}
else{
if($_SERVER["REQUEST_METHOD"] == "POST"){