mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-25 12:35:55 +02:00
[feature/postgresql-fulltext-search] database changes in database_update
config entries are now added by database_update.php as well. PostgreSQL will work during update too. PHPBB3-9730
This commit is contained in:
@ -2207,6 +2207,13 @@ function change_database_data(&$no_updates, $version)
|
|||||||
set_config('search_type', 'phpbb_search_' . $config['search_type']);
|
set_config('search_type', 'phpbb_search_' . $config['search_type']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!isset($config['fulltext_postgres_ts_name']))
|
||||||
|
{
|
||||||
|
set_config('fulltext_postgres_max_word_len', 254);
|
||||||
|
set_config('fulltext_postgres_min_word_len', 4);
|
||||||
|
set_config('fulltext_postgres_ts_name', 'simple');
|
||||||
|
}
|
||||||
|
|
||||||
if (!isset($config['load_jquery_cdn']))
|
if (!isset($config['load_jquery_cdn']))
|
||||||
{
|
{
|
||||||
set_config('load_jquery_cdn', 0);
|
set_config('load_jquery_cdn', 0);
|
||||||
|
Reference in New Issue
Block a user