aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migration
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-11-18 00:37:07 -0800
committerCesar G <prototech91@gmail.com>2014-11-18 00:37:07 -0800
commit7c6896415391dc94c83486921118edc41189d760 (patch)
tree5fd5e0d89048ed950930db17729a47fb4961173d /phpBB/phpbb/db/migration
parent7b33018ade25a6bb866b7746b9dcc7455a7304ab (diff)
downloadforums-7c6896415391dc94c83486921118edc41189d760.tar
forums-7c6896415391dc94c83486921118edc41189d760.tar.gz
forums-7c6896415391dc94c83486921118edc41189d760.tar.bz2
forums-7c6896415391dc94c83486921118edc41189d760.tar.xz
forums-7c6896415391dc94c83486921118edc41189d760.zip
[ticket/13315] Check for the includes/captcha/plugins/ directory instead.
PHPBB3-13315
Diffstat (limited to 'phpBB/phpbb/db/migration')
-rw-r--r--phpBB/phpbb/db/migration/data/v310/reset_missing_captcha_plugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/reset_missing_captcha_plugin.php b/phpBB/phpbb/db/migration/data/v310/reset_missing_captcha_plugin.php
index 68d630b063..8211457dc6 100644
--- a/phpBB/phpbb/db/migration/data/v310/reset_missing_captcha_plugin.php
+++ b/phpBB/phpbb/db/migration/data/v310/reset_missing_captcha_plugin.php
@@ -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')),
)),