exit on redirect

This commit is contained in:
Bruno Rybársky 2024-02-02 16:29:24 +01:00
parent 7070ea9349
commit 5a86c772f6

@ -52,9 +52,9 @@ function initRouter(): bool
$routerRequest["tld"] . "/" . $routerRequest["tld"] . "/" .
$routerRequest["page_name"]; $routerRequest["page_name"];
// Redirect with default page name // Redirect with default page name
echo "false";
header("Location: $redirectAddress"); header("Location: $redirectAddress");
header("RedirHere: $redirectAddress"); header("RedirHere: $redirectAddress");
echo "false";
return false; return false;
} }
else{ else{