forked from Adleraci/adlerka.top
fix
This commit is contained in:
parent
4eff9ddb73
commit
0c49410012
@ -17,10 +17,11 @@ function initRouter(): bool
|
||||
$routerRequest["tld"] = basename($routerRequest["requestAddress"][1]);
|
||||
|
||||
}
|
||||
$routerRequest["subdomain"] = basename($routerRequest["requestAddress"][0]);
|
||||
$routerRequest["domain"] = basename($routerRequest["requestAddress"][1]);
|
||||
$routerRequest["tld"] = basename($routerRequest["requestAddress"][2]);
|
||||
|
||||
else {
|
||||
$routerRequest["subdomain"] = basename($routerRequest["requestAddress"][0]);
|
||||
$routerRequest["domain"] = basename($routerRequest["requestAddress"][1]);
|
||||
$routerRequest["tld"] = basename($routerRequest["requestAddress"][2]);
|
||||
}
|
||||
$routerRequest["page_name"] = basename($_SERVER["QUERY_STRING"]);
|
||||
|
||||
if (empty($routerRequest["page_name"])) {
|
||||
|
Loading…
Reference in New Issue
Block a user