X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=mod%2Fhome.php;h=225bd294d2fbcecce3a716060b6c8708e3f04031;hb=46b220518c0a95d394398998711088ac1268c343;hp=d45b13ed5fb4e21ca02bd8d7296bbabb0a879741;hpb=d6b8e8c6a98fb05c9f38f2c323502eb452c031ff;p=friendica.git diff --git a/mod/home.php b/mod/home.php index d45b13ed5f..225bd294d2 100644 --- a/mod/home.php +++ b/mod/home.php @@ -4,9 +4,11 @@ if(! function_exists('home_init')) { function home_init(&$a) { if(local_user() && ($a->user['nickname'])) - goaway( $a->get_baseurl() . "/profile/" . $a->user['nickname'] ); + goaway( $a->get_baseurl() . "/profile/" . $a->user['nickname'] ); + + if(strlen(get_config('system','singleuser'))) + goaway( $a->get_baseurl() . "/profile/" . get_config('system','singleuser')); - $a->page['htmlhead'] .= "get_baseurl() . "/profile/%s" . "\" />\r\n"; }} @@ -18,7 +20,7 @@ function home_content(&$a) { if(x($_SESSION,'theme')) unset($_SESSION['theme']); - $o .= '