[ticket/13315] Check for the includes/captcha/plugins/ directory instead.

PHPBB3-13315
This commit is contained in:
Cesar G 2014-11-18 00:37:07 -08:00
parent 7b33018ade
commit 7c68964153

View file

@ -29,7 +29,7 @@ class reset_missing_captcha_plugin extends \phpbb\db\migration\migration
{
return array(
array('if', array(
(!is_dir($this->phpbb_root_path . 'phpbb/captcha/plugins/') &&
(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')),
)),