From 52eedffd62d5944570ad7c9d0b94c1287e472268 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Mon, 7 Jun 2004 23:51:48 +0000 Subject: [PATCH] dont require FulltextStoplist on mysql4 databases (saves some memory) --- includes/Database.php | 1 - includes/SearchEngine.php | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/Database.php b/includes/Database.php index a3b4c45128..c1b258dfbd 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -1,5 +1,4 @@ parseQuery4(); } + # on non mysql4 database: get list of words we don't want to search for + require_once( "FulltextStoplist.php" ); $lc = SearchEngine::legalSearchChars() . "()"; $q = preg_replace( "/([()])/", " \\1 ", $this->mUsertext ); -- 2.20.1