X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fopenid.php;h=af7016c32b0dcd640566685786345f1e840026d3;hb=e74f186b3488dfe2eb607f21f7f3c53e8a392333;hp=60de55a5098af3e9700d2b7a4a051d6ba5fd081a;hpb=05dcedb54c8c8f2b48e47fa11cb6dd4586bdd9bb;p=friendica.git diff --git a/mod/openid.php b/mod/openid.php index 60de55a509..af7016c32b 100644 --- a/mod/openid.php +++ b/mod/openid.php @@ -1,14 +1,19 @@ config['register_policy'] == REGISTER_CLOSED) { - notice( t('Account not found and OpenID registration is not permitted on this site.') . EOL); - goaway(z_root()); + notice(L10n::t('Account not found and OpenID registration is not permitted on this site.') . EOL); + goaway(System::baseUrl()); } unset($_SESSION['register']); @@ -102,12 +108,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()); + notice(L10n::t('Login failed.') . EOL); + goaway(System::baseUrl()); // NOTREACHED }