X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=include%2Fnav.php;h=5c2d6efa0edf431ba8627b93c538386a24a805b8;hb=0fe832ef8aeafa1ddba793a8b084005cf070f1f4;hp=312e3de521211803d3e0a3b36675ff96d9ab0ca1;hpb=91198cb53d19999079806438d818c6a20554f4e1;p=friendica.git diff --git a/include/nav.php b/include/nav.php index 312e3de521..5c2d6efa0e 100644 --- a/include/nav.php +++ b/include/nav.php @@ -7,6 +7,7 @@ use Friendica\Content\Feature; use Friendica\Core\Config; use Friendica\Core\System; use Friendica\Database\DBM; +use Friendica\Model\Profile; function nav(App $a) { @@ -104,9 +105,9 @@ function nav_info(App $a) } // "Home" should also take you home from an authenticated remote profile connection - $homelink = get_my_url(); + $homelink = Profile::getMyURL(); if (! $homelink) { - $homelink = ((x($_SESSION,'visitor_home')) ? $_SESSION['visitor_home'] : ''); + $homelink = ((x($_SESSION, 'visitor_home')) ? $_SESSION['visitor_home'] : ''); } if (($a->module != 'home') && (! (local_user()))) { @@ -145,7 +146,7 @@ function nav_info(App $a) if (strlen(Config::get('system', 'singleuser'))) { $gdir = Config::get('system', 'directory'); if (strlen($gdir)) { - $gdirpath = zrl($gdir, true); + $gdirpath = Profile::zrl($gdir, true); } }