diff options
author | Friendika <info@friendika.com> | 2011-02-28 19:44:47 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-02-28 19:44:47 -0800 |
commit | 80ed4242ee71031f73aa4ef32f17edbf6e989f51 (patch) | |
tree | ce8c3dd29d1385de3180d43ba35aa2edff2af658 /mod/home.php | |
parent | f089b1610e148db0f3952d9fce44974dbecfbc5c (diff) | |
download | volse-hubzilla-80ed4242ee71031f73aa4ef32f17edbf6e989f51.tar.gz volse-hubzilla-80ed4242ee71031f73aa4ef32f17edbf6e989f51.tar.bz2 volse-hubzilla-80ed4242ee71031f73aa4ef32f17edbf6e989f51.zip |
singleuser site mode plus fix search template layout
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"; }} |