mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/11174] include utf_tools in mysql backend
when running tests include utf_tools file in the mysql search backend PHPBB3-11174
This commit is contained in:
parent
b453f359ff
commit
764da97772
1 changed files with 8 additions and 0 deletions
|
@ -86,6 +86,14 @@ class phpbb_search_fulltext_mysql extends phpbb_search_base
|
||||||
|
|
||||||
$this->word_length = array('min' => $this->config['fulltext_mysql_min_word_len'], 'max' => $this->config['fulltext_mysql_max_word_len']);
|
$this->word_length = array('min' => $this->config['fulltext_mysql_min_word_len'], 'max' => $this->config['fulltext_mysql_max_word_len']);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Load the UTF tools
|
||||||
|
*/
|
||||||
|
if (!function_exists('utf8_strlen'))
|
||||||
|
{
|
||||||
|
include($phpbb_root_path . 'includes/utf/utf_tools.' . $phpEx);
|
||||||
|
}
|
||||||
|
|
||||||
$error = false;
|
$error = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue