exit on redirect

This commit is contained in:
Bruno Rybársky 2024-02-02 16:25:03 +01:00
parent a965afc454
commit 05be7c9ee9

@ -25,6 +25,7 @@ function initRouter(): bool
if($routerRequest["subdomain"] == $routerConfig["default_site"]){
$routerRequest["subdomain"] = "";
$needsRedirect = true;
echo "cuz apex";
}
}
@ -34,6 +35,7 @@ function initRouter(): bool
// Page name is empty
$needsRedirect = true;
$routerRequest["page_name"] = $routerConfig["default_page"];
echo "cuz page name";
}