예제 #1
0
파일: recaptcha.php 프로젝트: MrAdder/phpbb
 function init($type)
 {
     global $user, $request;
     $user->add_lang('captcha_recaptcha');
     parent::init($type);
     $this->response = $request->variable('g-recaptcha-response', '');
 }
예제 #2
0
 function init($type)
 {
     global $config, $db, $user;
     $user->add_lang('captcha_recaptcha');
     parent::init($type);
     $this->challenge = request_var('recaptcha_challenge_field', '');
     $this->response = request_var('recaptcha_response_field', '');
 }