exit on redirect
This commit is contained in:
parent
b903a2db02
commit
033ab0cffd
@ -51,6 +51,7 @@ function initRouter(): bool
|
|||||||
$routerRequest["page_name"];
|
$routerRequest["page_name"];
|
||||||
// Redirect with default page name
|
// Redirect with default page name
|
||||||
header("Location: $redirectAddress");
|
header("Location: $redirectAddress");
|
||||||
|
exit();
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
if($_SERVER["REQUEST_METHOD"] == "POST"){
|
if($_SERVER["REQUEST_METHOD"] == "POST"){
|
||||||
|
Loading…
Reference in New Issue
Block a user