mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9592 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b60f96c4ec
commit
f32ca6c9bd
2 changed files with 5 additions and 0 deletions
|
@ -1375,6 +1375,10 @@ class install_install extends module
|
||||||
$sql_ary[] = 'UPDATE ' . $data['table_prefix'] . "config
|
$sql_ary[] = 'UPDATE ' . $data['table_prefix'] . "config
|
||||||
SET config_value = 'phpbb_captcha_gd'
|
SET config_value = 'phpbb_captcha_gd'
|
||||||
WHERE config_name = 'captcha_plugin'";
|
WHERE config_name = 'captcha_plugin'";
|
||||||
|
|
||||||
|
$sql_ary[] = 'UPDATE ' . $data['table_prefix'] . "config
|
||||||
|
SET config_value = '1'
|
||||||
|
WHERE config_name = 'captcha_gd'";
|
||||||
}
|
}
|
||||||
|
|
||||||
$ref = substr($referer, strpos($referer, '://') + 3);
|
$ref = substr($referer, strpos($referer, '://') + 3);
|
||||||
|
|
|
@ -61,6 +61,7 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('bump_interval', '1
|
||||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('bump_type', 'd');
|
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 ('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', 'phpbb_captcha_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_foreground_noise', '0');
|
||||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('captcha_gd_x_grid', '25');
|
INSERT INTO phpbb_config (config_name, config_value) VALUES ('captcha_gd_x_grid', '25');
|
||||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('captcha_gd_y_grid', '25');
|
INSERT INTO phpbb_config (config_name, config_value) VALUES ('captcha_gd_y_grid', '25');
|
||||||
|
|
Loading…
Add table
Reference in a new issue