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