diff options
Diffstat (limited to 'mod/home.php')
-rw-r--r-- | mod/home.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/home.php b/mod/home.php index d45b13ed5..20d38cfca 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'] .= "<meta name=\"dfrn-template\" content=\"" . $a->get_baseurl() . "/profile/%s" . "\" />\r\n"; }} |