aboutsummaryrefslogtreecommitdiffstats
path: root/mod/openid.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-01 21:02:25 -0700
committerFriendika <info@friendika.com>2011-08-01 21:02:25 -0700
commit2637831d9056862f7c3db718702116ef4652629a (patch)
tree2ee4076e6aeec3f79c64152abcce0ec284ef295f /mod/openid.php
parent8b31ff15f51c6936daedf28cc88c753214b569e0 (diff)
downloadvolse-hubzilla-2637831d9056862f7c3db718702116ef4652629a.tar.gz
volse-hubzilla-2637831d9056862f7c3db718702116ef4652629a.tar.bz2
volse-hubzilla-2637831d9056862f7c3db718702116ef4652629a.zip
some more zot changes migrating back to f9a mainline
Diffstat (limited to 'mod/openid.php')
-rw-r--r--mod/openid.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/openid.php b/mod/openid.php
index 537d84ce3..6fbd013b8 100644
--- a/mod/openid.php
+++ b/mod/openid.php
@@ -8,7 +8,7 @@ function openid_content(&$a) {
$noid = get_config('system','no_openid');
if($noid)
- goaway($a->get_baseurl());
+ goaway(z_root());
if((x($_GET,'openid_mode')) && (x($_SESSION,'openid'))) {
$openid = new LightOpenID;
@@ -49,7 +49,7 @@ function openid_content(&$a) {
if($a->config['register_policy'] != REGISTER_CLOSED)
goaway($a->get_baseurl() . '/register' . $args);
else
- goaway($a->get_baseurl());
+ goaway(z_root());
// NOTREACHED
}
@@ -60,7 +60,7 @@ function openid_content(&$a) {
);
if(! count($r)) {
notice( t('Login failed.') . EOL );
- goaway($a->get_baseurl());
+ goaway(z_root());
}
unset($_SESSION['openid']);
@@ -116,10 +116,10 @@ function openid_content(&$a) {
if(($a->module !== 'home') && isset($_SESSION['return_url']))
goaway($a->get_baseurl() . '/' . $_SESSION['return_url']);
else
- goaway($a->get_baseurl());
+ goaway(z_root());
}
}
notice( t('Login failed.') . EOL);
- goaway($a->get_baseurl());
+ goaway(z_root());
// NOTREACHED
}