X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=include%2Fnav.php;h=d7a6e397c603162efdee4e551cc9725d0a777ead;hb=e4a2430967f229dd02bc97c5c66be0620b3235d8;hp=435e892d91a5131658803b90e5da658b2c6fb86d;hpb=06815f1a38409e45b0c5e5184c081f964ec89e47;p=friendica.git
diff --git a/include/nav.php b/include/nav.php
index 435e892d91..d7a6e397c6 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -1,6 +1,7 @@
page['nav'] .= replace_macros($tpl, array(
- '$baseurl' => App::get_baseurl(),
+ '$baseurl' => System::baseUrl(),
'$sitelocation' => $nav_info['sitelocation'],
'$nav' => $nav_info['nav'],
'$banner' => $nav_info['banner'],
@@ -67,7 +68,7 @@ function nav_info(App $a)
$myident = ((is_array($a->user) && isset($a->user['nickname'])) ? $a->user['nickname'] . '@' : '');
- $sitelocation = $myident . substr(App::get_baseurl($ssl_state), strpos(App::get_baseurl($ssl_state), '//') + 2 );
+ $sitelocation = $myident . substr(System::baseUrl($ssl_state), strpos(System::baseUrl($ssl_state), '//') + 2 );
// nav links: array of array('href', 'text', 'extra css classes', 'title')
$nav = array();
@@ -204,7 +205,7 @@ function nav_info(App $a)
// Provide a banner/logo/whatever
$banner = get_config('system', 'banner');
if ($banner === false) {
- $banner = 'Friendica';
+ $banner = 'Friendica';
}
call_hooks('nav_info', $nav);