From 4e8c621e0b87b98053b75be650d24d2555ee96a2 Mon Sep 17 00:00:00 2001 From: bruno Date: Fri, 2 Feb 2024 12:41:52 +0100 Subject: [PATCH] dokelu --- lib/navigation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/navigation.php b/lib/navigation.php index da3524b..f4435b8 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -19,14 +19,14 @@ function generateNavigation(): string $site_name = str_replace("_", " ", $site_dir); - $site_subdomain = $site_dir; + $site_subdomain = $site_dir . "."; if ($site_name == "apex") { $site_subdomain = ""; } $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) { //this is the current page