diff options
Diffstat (limited to 'phpBB/install')
| -rw-r--r-- | phpBB/install/database_update.php | 10 | ||||
| -rw-r--r-- | phpBB/install/schemas/schema_data.sql | 2 | 
2 files changed, 12 insertions, 0 deletions
| diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 5f5cf41aac..1408db27be 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -2277,6 +2277,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); diff --git a/phpBB/install/schemas/schema_data.sql b/phpBB/install/schemas/schema_data.sql index 0bb1858c11..ea7864bd4c 100644 --- a/phpBB/install/schemas/schema_data.sql +++ b/phpBB/install/schemas/schema_data.sql @@ -127,6 +127,8 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('fulltext_native_mi  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 ('fulltext_sphinx_indexer_mem_limit', '512'); +INSERT INTO phpbb_config (config_name, config_value) VALUES ('fulltext_sphinx_stopwords', '0');  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'); | 
