mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
fixing back links
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9801 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -36,7 +36,7 @@ class phpbb_recaptcha extends phpbb_default_captcha
|
||||
{
|
||||
global $config, $db, $user;
|
||||
|
||||
$user->add_lang('recaptcha');
|
||||
$user->add_lang('captcha_recaptcha');
|
||||
parent::init($type);
|
||||
$this->challenge = request_var('recaptcha_challenge_field', '');
|
||||
$this->response = request_var('recaptcha_response_field', '');
|
||||
@@ -51,7 +51,7 @@ class phpbb_recaptcha extends phpbb_default_captcha
|
||||
function is_available()
|
||||
{
|
||||
global $config, $user;
|
||||
$user->add_lang('recaptcha');
|
||||
$user->add_lang('captcha_recaptcha');
|
||||
return (isset($config['recaptcha_pubkey']) && !empty($config['recaptcha_pubkey']));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user