forked from Adleraci/adlerka.top
dokelu
This commit is contained in:
parent
9ad8af8c6f
commit
4e8c621e0b
@ -19,14 +19,14 @@ function generateNavigation(): string
|
|||||||
|
|
||||||
$site_name = str_replace("_", " ", $site_dir);
|
$site_name = str_replace("_", " ", $site_dir);
|
||||||
|
|
||||||
$site_subdomain = $site_dir;
|
$site_subdomain = $site_dir . ".";
|
||||||
if ($site_name == "apex") {
|
if ($site_name == "apex") {
|
||||||
$site_subdomain = "";
|
$site_subdomain = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
$site_name = ucfirst($site_name);
|
$site_name = ucfirst($site_name);
|
||||||
|
|
||||||
$site_location = $routerConfig["protocol"] . $site_subdomain . "." . $routerRequest["domain"] . "." . $routerRequest["tld"] . "/" . $routerConfig["default_page"];
|
$site_location = $routerConfig["protocol"] . $site_subdomain . $routerRequest["domain"] . "." . $routerRequest["tld"] . "/" . $routerConfig["default_page"];
|
||||||
|
|
||||||
if ($routerRequest["subdomain"] == $site_dir) {
|
if ($routerRequest["subdomain"] == $site_dir) {
|
||||||
//this is the current page
|
//this is the current page
|
||||||
|
Loading…
Reference in New Issue
Block a user