aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
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'));