mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-30 04:38:21 +02:00
Merge pull request #3148 from prototech/ticket/13315
[ticket/13315] Fix loss of CAPTCHA plugin config value. * prototech/ticket/13315: [ticket/13315] Check for the includes/captcha/plugins/ directory instead. [ticket/13315] Fix loss of CAPTCHA plugin config value.
This commit is contained in:
commit
0019039bc1
@ -29,7 +29,8 @@ class reset_missing_captcha_plugin extends \phpbb\db\migration\migration
|
||||
{
|
||||
return array(
|
||||
array('if', array(
|
||||
(!is_file($this->phpbb_root_path . "includes/captcha/plugins/{$this->config['captcha_plugin']}_plugin." . $this->php_ext)),
|
||||
(is_dir($this->phpbb_root_path . 'includes/captcha/plugins/') &&
|
||||
!is_file($this->phpbb_root_path . "includes/captcha/plugins/{$this->config['captcha_plugin']}_plugin." . $this->php_ext)),
|
||||
array('config.update', array('captcha_plugin', 'phpbb_captcha_nogd')),
|
||||
)),
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user