mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 03:04:09 +02:00
Merge of the language-specific custom path change Revision #r8782
git-svn-id: file:///svn/phpbb/trunk@8786 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -49,10 +49,10 @@ class search_backend
|
||||
|
||||
$words = array();
|
||||
|
||||
if (file_exists("{$user->lang_path}/search_ignore_words." . PHP_EXT))
|
||||
if (file_exists("{$user->lang_path}{$user->lang_name}/search_ignore_words." . PHP_EXT))
|
||||
{
|
||||
// include the file containing ignore words
|
||||
include("{$user->lang_path}/search_ignore_words." . PHP_EXT);
|
||||
include("{$user->lang_path}{$user->lang_name}/search_ignore_words." . PHP_EXT);
|
||||
}
|
||||
|
||||
$this->ignore_words = $words;
|
||||
@@ -71,10 +71,10 @@ class search_backend
|
||||
|
||||
$synonyms = array();
|
||||
|
||||
if (file_exists("{$user->lang_path}/search_synonyms." . PHP_EXT))
|
||||
if (file_exists("{$user->lang_path}{$user->lang_name}/search_synonyms." . PHP_EXT))
|
||||
{
|
||||
// include the file containing synonyms
|
||||
include("{$user->lang_path}/search_synonyms." . PHP_EXT);
|
||||
include("{$user->lang_path}{$user->lang_name}/search_synonyms." . PHP_EXT);
|
||||
}
|
||||
|
||||
$this->match_synonym = array_keys($synonyms);
|
||||
|
Reference in New Issue
Block a user