X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fopenid.php;h=1dac83d2d57d7d0580a7028efdc9a29f0214ad86;hb=7003f576e27bc1590329556c8b801bafbb324cea;hp=5707b1b72891cc7e28874869aeabc48110a15a8f;hpb=4a473611163a12b48d3bbad71dc54765be8789f9;p=friendica.git diff --git a/mod/openid.php b/mod/openid.php index 5707b1b728..1dac83d2d5 100644 --- a/mod/openid.php +++ b/mod/openid.php @@ -1,6 +1,7 @@ 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 +103,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 }