mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/12960] Do not try to enable removed captcha during install
PHPBB3-12960
This commit is contained in:
parent
1baf5c295e
commit
5d11098753
1 changed files with 0 additions and 6 deletions
|
@ -166,12 +166,6 @@ class add_config_settings extends database_task
|
||||||
'site_desc' => $this->install_config->get('board_description'),
|
'site_desc' => $this->install_config->get('board_description'),
|
||||||
];
|
];
|
||||||
|
|
||||||
if (@extension_loaded('gd'))
|
|
||||||
{
|
|
||||||
$updates['captcha_plugin'] = 'core.captcha.plugins.gd';
|
|
||||||
$updates['captcha_gd'] = '1';
|
|
||||||
}
|
|
||||||
|
|
||||||
$ref = substr($referer, strpos($referer, '://') + 3);
|
$ref = substr($referer, strpos($referer, '://') + 3);
|
||||||
if (!(stripos($ref, $server_name) === 0))
|
if (!(stripos($ref, $server_name) === 0))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue