aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-08-11 12:20:35 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-08-11 12:20:35 +0200
commit91df95a90dd3266f4beeb7df7534f75882909581 (patch)
tree4aa78d8abf67a08571dd7421251d104415dd2bf4 /phpBB/install
parentc10c6bd34297afbf6b32f5047a85c33fa546c23d (diff)
parent756aa68b34e8584c7e010b2295ff63e485be1907 (diff)
downloadforums-91df95a90dd3266f4beeb7df7534f75882909581.tar
forums-91df95a90dd3266f4beeb7df7534f75882909581.tar.gz
forums-91df95a90dd3266f4beeb7df7534f75882909581.tar.bz2
forums-91df95a90dd3266f4beeb7df7534f75882909581.tar.xz
forums-91df95a90dd3266f4beeb7df7534f75882909581.zip
Merge pull request #2842 from Nicofuma/ticket/11854
[ticket/11854] Move captchas to phpbb/ and use DI for plugins
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/install_install.php2
-rw-r--r--phpBB/install/schemas/schema_data.sql2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php
index b82df84a00..20b211dde9 100644
--- a/phpBB/install/install_install.php
+++ b/phpBB/install/install_install.php
@@ -1382,7 +1382,7 @@ class install_install extends module
if (@extension_loaded('gd'))
{
$sql_ary[] = 'UPDATE ' . $data['table_prefix'] . "config
- SET config_value = 'phpbb_captcha_gd'
+ SET config_value = 'core.captcha.plugins.gd'
WHERE config_name = 'captcha_plugin'";
$sql_ary[] = 'UPDATE ' . $data['table_prefix'] . "config
diff --git a/phpBB/install/schemas/schema_data.sql b/phpBB/install/schemas/schema_data.sql
index 9cc151f728..5589e10243 100644
--- a/phpBB/install/schemas/schema_data.sql
+++ b/phpBB/install/schemas/schema_data.sql
@@ -70,7 +70,7 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('browser_check', '1
INSERT INTO phpbb_config (config_name, config_value) VALUES ('bump_interval', '10');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('bump_type', 'd');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cache_gc', '7200');
-INSERT INTO phpbb_config (config_name, config_value) VALUES ('captcha_plugin', 'phpbb_captcha_nogd');
+INSERT INTO phpbb_config (config_name, config_value) VALUES ('captcha_plugin', 'core.captcha.plugins.nogd');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('captcha_gd', '0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('captcha_gd_foreground_noise', '0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('captcha_gd_x_grid', '25');