aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/search/search.php')
-rwxr-xr-xphpBB/includes/search/search.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/includes/search/search.php b/phpBB/includes/search/search.php
index e13a59caed..ab04463527 100755
--- a/phpBB/includes/search/search.php
+++ b/phpBB/includes/search/search.php
@@ -45,14 +45,14 @@ class search_backend
{
if (!sizeof($this->ignore_words))
{
- global $user, $phpEx;
+ global $user;
$words = array();
- if (file_exists("{$user->lang_path}/search_ignore_words.$phpEx"))
+ if (file_exists("{$user->lang_path}/search_ignore_words." . PHP_EXT))
{
// include the file containing ignore words
- include("{$user->lang_path}/search_ignore_words.$phpEx");
+ include("{$user->lang_path}/search_ignore_words." . PHP_EXT);
}
$this->ignore_words = $words;
@@ -67,14 +67,14 @@ class search_backend
{
if (!sizeof($this->match_synonym))
{
- global $user, $phpEx;
+ global $user;
$synonyms = array();
- if (file_exists("{$user->lang_path}/search_synonyms.$phpEx"))
+ if (file_exists("{$user->lang_path}/search_synonyms." . PHP_EXT))
{
// include the file containing synonyms
- include("{$user->lang_path}/search_synonyms.$phpEx");
+ include("{$user->lang_path}/search_synonyms." . PHP_EXT);
}
$this->match_synonym = array_keys($synonyms);