diff options
author | friendica <info@friendica.com> | 2012-10-29 17:14:02 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-10-29 17:14:02 -0700 |
commit | e3c2e589794b13e23c1184deeba37e41dbc0144b (patch) | |
tree | c7f36aa88f89ffd7afbc97183d0cf3c20c637da8 /mod/auth.php | |
parent | a217c8de98329e97c3706ad4351deecd1c31fbc2 (diff) | |
download | volse-hubzilla-e3c2e589794b13e23c1184deeba37e41dbc0144b.tar.gz volse-hubzilla-e3c2e589794b13e23c1184deeba37e41dbc0144b.tar.bz2 volse-hubzilla-e3c2e589794b13e23c1184deeba37e41dbc0144b.zip |
"profile url" e.g. the wall/stream is now "channel url". "Profile URL" goes to the profile details.
Diffstat (limited to 'mod/auth.php')
-rw-r--r-- | mod/auth.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/auth.php b/mod/auth.php index dae8a0e16..75d5fe545 100644 --- a/mod/auth.php +++ b/mod/auth.php @@ -76,7 +76,7 @@ function auth_init(&$a) { } } $profile = $r[0]['nickname']; - goaway((strlen($destination_url)) ? $destination_url : $a->get_baseurl() . '/profile/' . $profile); + goaway((strlen($destination_url)) ? $destination_url : $a->get_baseurl() . '/channel/' . $profile); } goaway(z_root()); @@ -451,14 +451,14 @@ function auth_content(&$a) { switch($destination_url) { case 'profile': - $dest = $a->get_baseurl() . '/profile/' . $profile . '?tab=profile'; + $dest = $a->get_baseurl() . '/profile/' . $profile ; break; case 'photos': $dest = $a->get_baseurl() . '/photos/' . $profile; break; case 'status': case '': - $dest = $a->get_baseurl() . '/profile/' . $profile; + $dest = $a->get_baseurl() . '/channel/' . $profile; break; default: $dest = $destination_url; |