X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fnav.php;h=bd933929d3b6b78ee7e8a3113558cd965e3d152d;hb=84b733e1bf25bdd1074483f19113add7800a6c38;hp=2a9f24ca9f5644e351e4ac29fd7ee2a676a4074e;hpb=c1193c9c134fb91e2ddbc2bf7b79f6ec1abb2e94;p=friendica.git diff --git a/include/nav.php b/include/nav.php index 2a9f24ca9f..bd933929d3 100644 --- a/include/nav.php +++ b/include/nav.php @@ -1,6 +1,6 @@ page['nav'] .= replace_macros($tpl, array( - '$baseurl' => $a->get_baseurl(), + '$baseurl' => App::get_baseurl(), '$sitelocation' => $nav_info['sitelocation'], '$nav' => $nav_info['nav'], '$banner' => $nav_info['banner'], @@ -65,7 +65,7 @@ function nav_info(App $a) $myident = ((is_array($a->user) && isset($a->user['nickname'])) ? $a->user['nickname'] . '@' : ''); - $sitelocation = $myident . substr($a->get_baseurl($ssl_state), strpos($a->get_baseurl($ssl_state), '//') + 2 ); + $sitelocation = $myident . substr(App::get_baseurl($ssl_state), strpos(App::get_baseurl($ssl_state), '//') + 2 ); // nav links: array of array('href', 'text', 'extra css classes', 'title') $nav = array();