aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search/fulltext_mysql.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-03-18 14:30:47 +0000
committerNils Adermann <naderman@naderman.de>2006-03-18 14:30:47 +0000
commit9f7bc931259522fe7ae1ea9d6b5f4b17b60c97ad (patch)
tree96686f10c69d0dedfe966c4ead240f4169013656 /phpBB/includes/search/fulltext_mysql.php
parentd9c48b494c6b0b2cf49670eaa5fdb503e1312557 (diff)
downloadforums-9f7bc931259522fe7ae1ea9d6b5f4b17b60c97ad.tar
forums-9f7bc931259522fe7ae1ea9d6b5f4b17b60c97ad.tar.gz
forums-9f7bc931259522fe7ae1ea9d6b5f4b17b60c97ad.tar.bz2
forums-9f7bc931259522fe7ae1ea9d6b5f4b17b60c97ad.tar.xz
forums-9f7bc931259522fe7ae1ea9d6b5f4b17b60c97ad.zip
- Lesson learned: If you rename something rename it in all places and not just in a few :)
(min_search_chars/max_search_chars/load_search_upd now prefixed with fulltext_phpbb) - search_indexing_state should not be dynamic - a topic link should link to a topic ;-) git-svn-id: file:///svn/phpbb/trunk@5652 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/search/fulltext_mysql.php')
-rw-r--r--phpBB/includes/search/fulltext_mysql.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/search/fulltext_mysql.php b/phpBB/includes/search/fulltext_mysql.php
index 74ffa08a81..28f4064aef 100644
--- a/phpBB/includes/search/fulltext_mysql.php
+++ b/phpBB/includes/search/fulltext_mysql.php
@@ -21,9 +21,14 @@ include_once($phpbb_root_path . 'includes/search/search.' . $phpEx);
class fulltext_mysql extends search_backend
{
var $stats;
+ var $word_length;
function fulltext_mysql(&$error)
{
+ global $config;
+
+ $this->word_length = array('min' => $config['fulltext_mysql_min_word_len'], 'max' => $config['fulltext_mysql_max_word_len']);
+
$error = false;
}