diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-04-11 11:09:45 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-04-11 11:09:45 +0000 |
commit | 4d9b106db2ccc6e15b4afd3fc2e69cf37fae81cf (patch) | |
tree | c2c98e5c550b9a9e3b19a0e9d6332437b453da26 /phpBB/install/database_update.php | |
parent | cda9e5e9ec0dfe9c3e0a04809ffc5d0099020046 (diff) | |
download | forums-4d9b106db2ccc6e15b4afd3fc2e69cf37fae81cf.tar forums-4d9b106db2ccc6e15b4afd3fc2e69cf37fae81cf.tar.gz forums-4d9b106db2ccc6e15b4afd3fc2e69cf37fae81cf.tar.bz2 forums-4d9b106db2ccc6e15b4afd3fc2e69cf37fae81cf.tar.xz forums-4d9b106db2ccc6e15b4afd3fc2e69cf37fae81cf.zip |
New search option: Maximum number of words allowed to search for.
(the more words the more database load)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9438 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r-- | phpBB/install/database_update.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 18a1162c41..e164e5442c 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -11,7 +11,7 @@ $updates_to_version = '3.0.5-dev'; // Enter any version to update from to test updates. The version within the db will not be updated. -$debug_from_version = '3.0.4'; +$debug_from_version = false; // Return if we "just include it" to find out for which version the database update is responsible for if (defined('IN_PHPBB') && defined('IN_INSTALL')) @@ -896,6 +896,9 @@ function change_database_data(&$no_updates, $version) set_config('confirm_refresh', 1); + // Maximum number of keywords + set_config('max_num_search_keywords', 10); + // Hash old MD5 passwords $sql = 'SELECT user_id, user_password FROM ' . USERS_TABLE . ' |