forked from Adleraci/adlerka.top
ucfirst() pre __NAME__
This commit is contained in:
parent
3606e29b78
commit
d07660b082
@ -22,7 +22,7 @@ function generateNavigation($static_page_dir, $protocol, $subdomain, $domain, $t
|
|||||||
$site_location = "$protocol$site_dir.$domain.$tld/$default_page";
|
$site_location = "$protocol$site_dir.$domain.$tld/$default_page";
|
||||||
$navsite = str_replace("__CLASS__", $site_class, $navsite);
|
$navsite = str_replace("__CLASS__", $site_class, $navsite);
|
||||||
$navsite = str_replace("__LOCATION__", $site_location, $navsite);
|
$navsite = str_replace("__LOCATION__", $site_location, $navsite);
|
||||||
$navsite = str_replace("__NAME__", $site_name, $navsite);
|
$navsite = str_replace("__NAME__", $site_name.ucfirst(), $navsite);
|
||||||
|
|
||||||
if ($subdomain == $site_dir) {
|
if ($subdomain == $site_dir) {
|
||||||
//this is the current page
|
//this is the current page
|
||||||
|
Loading…
Reference in New Issue
Block a user