]> git.mxchange.org Git - friendica.git/blobdiff - mod/navigation.php
Merge pull request #3595 from annando/1707-realpath
[friendica.git] / mod / navigation.php
index 5db69b171eed52f67fea8f65bd21ccb5df55c3ce..31b20e8913769bb56671ae58a1af37e606ec6475 100644 (file)
@@ -1,8 +1,10 @@
 <?php
 
+use Friendica\App;
+
 require_once("include/nav.php");
 
-function navigation_content(&$a) {
+function navigation_content(App $a) {
 
        $nav_info = nav_info($a);
 
@@ -12,7 +14,7 @@ function navigation_content(&$a) {
 
        $tpl = get_markup_template('navigation.tpl');
        return replace_macros($tpl, array(
-               '$baseurl' => $a->get_baseurl(),
+               '$baseurl' => App::get_baseurl(),
                '$sitelocation' => $nav_info['sitelocation'],
                '$nav' => $nav_info['nav'],
                '$banner' =>  $nav_info['banner'],