From e97fc554c75dab2db24c9416f00d9add0d22301c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 16 Jan 2024 19:27:10 +0100 Subject: [PATCH] test --- lib/navpages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/navpages.php b/lib/navpages.php index e37f51f..35ce732 100644 --- a/lib/navpages.php +++ b/lib/navpages.php @@ -22,7 +22,7 @@ function generateNavigation($static_page_dir, $protocol, $subdomain, $domain, $t $site_location = "$protocol$site_dir.$domain.$tld/$default_page"; $navsite = str_replace("__CLASS__", $site_class, $navsite); $navsite = str_replace("__LOCATION__", $site_location, $navsite); - $navsite = str_replace("__NAME__", $site_name.ucfirst(), $navsite); + $navsite = str_replace("__NAME__", ucfirst($site_name), $navsite); if ($subdomain == $site_dir) { //this is the current page