phpBB

Code Changes

File: phpbb/db/migration/data/v310/reset_missing_captcha_plugin.php

  Unmodified   Added   Modified   Removed
Line 29Line 29
	{
return array(
array('if', array(

	{
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')),
)),
);

				array('config.update', array('captcha_plugin', 'phpbb_captcha_nogd')),
)),
);