mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 21:54:00 +02:00
Merge branch 'develop' of git://github.com/phpbb/phpbb3 into feature/new-tz-handling
This commit is contained in:
@@ -2248,6 +2248,21 @@ function change_database_data(&$no_updates, $version)
|
||||
set_config('search_type', 'phpbb_search_' . $config['search_type']);
|
||||
}
|
||||
|
||||
if (!isset($config['fulltext_postgres_ts_name']))
|
||||
{
|
||||
set_config('fulltext_postgres_ts_name', 'simple');
|
||||
}
|
||||
|
||||
if (!isset($config['fulltext_postgres_min_word_len']))
|
||||
{
|
||||
set_config('fulltext_postgres_min_word_len', 4);
|
||||
}
|
||||
|
||||
if (!isset($config['fulltext_postgres_max_word_len']))
|
||||
{
|
||||
set_config('fulltext_postgres_max_word_len', 254);
|
||||
}
|
||||
|
||||
if (!isset($config['load_jquery_cdn']))
|
||||
{
|
||||
set_config('load_jquery_cdn', 0);
|
||||
@@ -2346,6 +2361,13 @@ function change_database_data(&$no_updates, $version)
|
||||
'auth' => 'acl_a_styles',
|
||||
'cat' => 'ACP_STYLE_MANAGEMENT',
|
||||
),
|
||||
'autologin_keys' => array(
|
||||
'base' => 'ucp_profile',
|
||||
'class' => 'ucp',
|
||||
'title' => 'UCP_PROFILE_AUTOLOGIN_KEYS',
|
||||
'auth' => '',
|
||||
'cat' => 'UCP_PROFILE',
|
||||
),
|
||||
);
|
||||
|
||||
_add_modules($modules_to_install);
|
||||
|
@@ -1178,7 +1178,7 @@ class install_install extends module
|
||||
|
||||
$sql_query = preg_replace('#phpbb_#i', $data['table_prefix'], $sql_query);
|
||||
|
||||
$sql_query = remove_comments($sql_query);
|
||||
$sql_query = phpbb_remove_comments($sql_query);
|
||||
|
||||
$sql_query = split_sql_file($sql_query, $delimiter);
|
||||
|
||||
@@ -1216,7 +1216,7 @@ class install_install extends module
|
||||
// Change language strings...
|
||||
$sql_query = preg_replace_callback('#\{L_([A-Z0-9\-_]*)\}#s', 'adjust_language_keys_callback', $sql_query);
|
||||
|
||||
$sql_query = remove_comments($sql_query);
|
||||
$sql_query = phpbb_remove_comments($sql_query);
|
||||
$sql_query = split_sql_file($sql_query, ';');
|
||||
|
||||
foreach ($sql_query as $sql)
|
||||
|
@@ -124,6 +124,9 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('fulltext_native_co
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('fulltext_native_load_upd', '1');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('fulltext_native_max_chars', '14');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('fulltext_native_min_chars', '3');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('fulltext_postgres_max_word_len', '254');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('fulltext_postgres_min_word_len', '4');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('fulltext_postgres_ts_name', 'simple');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('gzip_compress', '0');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('hot_threshold', '25');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('icons_path', 'images/icons');
|
||||
|
Reference in New Issue
Block a user