mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02: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:
@@ -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']);
|
||||
|
||||
/**
|
||||
* Load the UTF tools
|
||||
*/
|
||||
if (!function_exists('utf8_strlen'))
|
||||
{
|
||||
include($phpbb_root_path . 'includes/utf/utf_tools.' . $phpEx);
|
||||
}
|
||||
|
||||
$error = false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user