X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fopenid.php;h=613cd222f605e962301492f73f4a8d033fb9c7a7;hb=de4a2e6fd03cd0aab94a256eba92ed593931534b;hp=5707b1b72891cc7e28874869aeabc48110a15a8f;hpb=2b161108fe6552ef2effb7b300553f0242b2e49e;p=friendica.git diff --git a/mod/openid.php b/mod/openid.php index 5707b1b728..613cd222f6 100644 --- a/mod/openid.php +++ b/mod/openid.php @@ -1,14 +1,17 @@ config['register_policy'] == REGISTER_CLOSED) { notice( t('Account not found and OpenID registration is not permitted on this site.') . EOL); - goaway(z_root()); + goaway(System::baseUrl()); } unset($_SESSION['register']); @@ -102,12 +106,12 @@ function openid_content(App $a) { $args .= '&openid_url=' . urlencode(notags(trim($authid))); - goaway(App::get_baseurl() . '/register?' . $args); + goaway(System::baseUrl() . '/register?' . $args); // NOTREACHED } } notice( t('Login failed.') . EOL); - goaway(z_root()); + goaway(System::baseUrl()); // NOTREACHED }