mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
- improvements to search indexing performance, espacially tidy() by adding a word_count column, the database update from b5 to next version will take quite a while on bigger databases, I also lowered the default common word threshold from 20 to 5 percent, big boards might want to use 3 or 2 percent, 20 was way too high
- added some keys to ACL tables, great improvement of auth query performance - we will only add new language strings to install.php language file and won't modify any, if a language file is updated before phpBB is updated, the updater will not overwrite the user's language with english if install.php was modified git-svn-id: file:///svn/phpbb/trunk@7182 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -202,7 +202,12 @@ class install_update extends module
|
||||
{
|
||||
$lang = array();
|
||||
include($this->new_location . 'language/en/install.php');
|
||||
$user->lang = array_merge($user->lang, $lang);
|
||||
// only add new keys to user's language in english
|
||||
$new_keys = array_diff(array_keys($lang), array_keys($user->lang));
|
||||
foreach ($new_keys as $i => $new_key)
|
||||
{
|
||||
$user->lang[$new_key] = $lang[$new_key];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user