mirror of
https://github.com/friendica/friendica
synced 2025-04-26 01:50:11 +00:00
use zrl to get home again
This commit is contained in:
parent
cd47ba6ed1
commit
bb8beb26b4
7 changed files with 54 additions and 17 deletions
|
@ -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'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue