mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Oh right. PHP4
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9581 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -131,7 +131,7 @@ class phpbb_default_captcha
|
||||
{
|
||||
$hidden_fields = array();
|
||||
|
||||
// this is required for postig.php - otherwise we would forget about the captcha being already solved
|
||||
// this is required for posting.php - otherwise we would forget about the captcha being already solved
|
||||
if ($this->solved)
|
||||
{
|
||||
$hidden_fields['confirm_code'] = $this->confirm_code;
|
||||
|
@@ -51,9 +51,10 @@ class phpbb_captcha_gd extends phpbb_default_captcha
|
||||
}
|
||||
}
|
||||
|
||||
function get_instance()
|
||||
function &get_instance()
|
||||
{
|
||||
return new phpbb_captcha_gd();
|
||||
$instance =& new phpbb_captcha_gd();
|
||||
return $instance;
|
||||
}
|
||||
|
||||
function is_available()
|
||||
|
@@ -40,9 +40,10 @@ class phpbb_captcha_nogd extends phpbb_default_captcha
|
||||
}
|
||||
}
|
||||
|
||||
function get_instance()
|
||||
function &get_instance()
|
||||
{
|
||||
return new phpbb_captcha_nogd();
|
||||
$instance =& new phpbb_captcha_nogd();
|
||||
return $instance;
|
||||
}
|
||||
|
||||
function is_available()
|
||||
|
@@ -42,9 +42,10 @@ class phpbb_recaptcha extends phpbb_default_captcha
|
||||
$this->response = request_var('recaptcha_response_field', '');
|
||||
}
|
||||
|
||||
function get_instance()
|
||||
function &get_instance()
|
||||
{
|
||||
return new phpbb_recaptcha();
|
||||
$instance =& new phpbb_recaptcha();
|
||||
return $instance;
|
||||
}
|
||||
|
||||
function is_available()
|
||||
|
Reference in New Issue
Block a user