use zrl to get home again

This commit is contained in:
friendica 2012-03-29 20:58:32 -07:00
parent cd47ba6ed1
commit bb8beb26b4
7 changed files with 54 additions and 17 deletions

View file

@ -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'));