From: Antoine Musso Date: Mon, 7 Jun 2004 23:51:48 +0000 (+0000) Subject: dont require FulltextStoplist on mysql4 databases (saves some memory) X-Git-Tag: 1.5.0alpha1~2998 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=52eedffd62d5944570ad7c9d0b94c1287e472268;p=lhc%2Fweb%2Fwiklou.git dont require FulltextStoplist on mysql4 databases (saves some memory) --- 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 );