aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-29 20:58:32 -0700
committerfriendica <info@friendica.com>2012-03-29 20:58:32 -0700
commitbb8beb26b4d87c27ce4c8dce3e1229a27a2d1a7e (patch)
tree48ca85a83dc21214ec056dd21798e04bacfc7936 /include/nav.php
parentcd47ba6ed1236b14c5da832b686eea0be926f65a (diff)
downloadvolse-hubzilla-bb8beb26b4d87c27ce4c8dce3e1229a27a2d1a7e.tar.gz
volse-hubzilla-bb8beb26b4d87c27ce4c8dce3e1229a27a2d1a7e.tar.bz2
volse-hubzilla-bb8beb26b4d87c27ce4c8dce3e1229a27a2d1a7e.zip
use zrl to get home again
Diffstat (limited to 'include/nav.php')
-rwxr-xr-xinclude/nav.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/nav.php b/include/nav.php
index f40e92dbc..d4f22e7ee 100755
--- a/include/nav.php
+++ b/include/nav.php
@@ -70,6 +70,8 @@ function nav(&$a) {
*/
$homelink = ((x($_SESSION,'visitor_home')) ? $_SESSION['visitor_home'] : '');
+ if(get_my_url())
+ $homelink = get_my_url();
if(($a->module != 'home') && (! (local_user())))
$nav['home'] = array($homelink, t('Home'), "", t('Home Page'));