]> git.mxchange.org Git - friendica.git/blobdiff - mod/navigation.php
App::get_baseurl is now replaced with System::baseUrl
[friendica.git] / mod / navigation.php
index d69c76a843513e810d10db9b31f10d72d14aed9d..d05131ebe4b4a107fe9c74039ced1cddbb54800a 100644 (file)
@@ -1,8 +1,11 @@
 <?php
 
+use Friendica\App;
+use Friendica\Core\System;
+
 require_once("include/nav.php");
 
-function navigation_content(App &$a) {
+function navigation_content(App $a) {
 
        $nav_info = nav_info($a);
 
@@ -12,7 +15,7 @@ function navigation_content(App &$a) {
 
        $tpl = get_markup_template('navigation.tpl');
        return replace_macros($tpl, array(
-               '$baseurl' => App::get_baseurl(),
+               '$baseurl' => System::baseUrl(),
                '$sitelocation' => $nav_info['sitelocation'],
                '$nav' => $nav_info['nav'],
                '$banner' =>  $nav_info['banner'],