diff options
| author | Dhruv Goel <dhruv.goel92@gmail.com> | 2012-07-10 05:04:14 +0530 |
|---|---|---|
| committer | Dhruv <dhruv.goel92@gmail.com> | 2012-07-19 23:01:28 +0530 |
| commit | 9711da2763f707408efde160357d51330fd17681 (patch) | |
| tree | a3515c43b575e0bfa7642e2c96a714b099bac4fc /phpBB/install/database_update.php | |
| parent | d2e42d7d619100695e0efe8d472c71f61cbfcb45 (diff) | |
| download | forums-9711da2763f707408efde160357d51330fd17681.tar forums-9711da2763f707408efde160357d51330fd17681.tar.gz forums-9711da2763f707408efde160357d51330fd17681.tar.bz2 forums-9711da2763f707408efde160357d51330fd17681.tar.xz forums-9711da2763f707408efde160357d51330fd17681.zip | |
[feature/sphinx-fulltext-search] adds default config values
Default config values are added to config table in new install as well
as database_update.
PHPBB3-10946
Diffstat (limited to 'phpBB/install/database_update.php')
| -rw-r--r-- | phpBB/install/database_update.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 594397c815..0ffab8e413 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -2260,6 +2260,16 @@ function change_database_data(&$no_updates, $version) set_config('fulltext_postgres_max_word_len', 254); } + if (!isset($config['fulltext_sphinx_stopwords'])) + { + set_config('fulltext_sphinx_stopwords', 0); + } + + if (!isset($config['fulltext_sphinx_indexer_mem_limit'])) + { + set_config('fulltext_sphinx_indexer_mem_limit', 512); + } + if (!isset($config['load_jquery_cdn'])) { set_config('load_jquery_cdn', 0); |
