forked from Adleraci/adlerka.top
exit on redirect
This commit is contained in:
parent
a965afc454
commit
05be7c9ee9
@ -25,6 +25,7 @@ function initRouter(): bool
|
|||||||
if($routerRequest["subdomain"] == $routerConfig["default_site"]){
|
if($routerRequest["subdomain"] == $routerConfig["default_site"]){
|
||||||
$routerRequest["subdomain"] = "";
|
$routerRequest["subdomain"] = "";
|
||||||
$needsRedirect = true;
|
$needsRedirect = true;
|
||||||
|
echo "cuz apex";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,6 +35,7 @@ function initRouter(): bool
|
|||||||
// Page name is empty
|
// Page name is empty
|
||||||
$needsRedirect = true;
|
$needsRedirect = true;
|
||||||
$routerRequest["page_name"] = $routerConfig["default_page"];
|
$routerRequest["page_name"] = $routerConfig["default_page"];
|
||||||
|
echo "cuz page name";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user