diff options
author | Nils Adermann <naderman@naderman.de> | 2006-03-18 14:30:47 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2006-03-18 14:30:47 +0000 |
commit | 9f7bc931259522fe7ae1ea9d6b5f4b17b60c97ad (patch) | |
tree | 96686f10c69d0dedfe966c4ead240f4169013656 /phpBB/includes/search/fulltext_mysql.php | |
parent | d9c48b494c6b0b2cf49670eaa5fdb503e1312557 (diff) | |
download | forums-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.php | 5 |
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; } |