15 $DB->
Query(
"SHOW VARIABLES");
16 while (FALSE !== ($Row = $DB->
FetchRow()))
18 $this->Variables[$Row[
"Variable_name"]] = $Row[
"Value"];
27 public function Get($Variable)
29 return (isset($this->Variables[$Variable]))
30 ? $this->Variables[$Variable] : NULL;
40 # default stop word list for MySQL 5
41 static $DefaultList = array(
588 if (is_readable($this->
Get(
"ft_stopword_file")))
591 if (!isset($ActualList))
593 $ActualList = explode(
"\n",
594 file_get_contents($this->
Get(
"ft_stopword_file")));
599 # fall back to default list