1
0
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:
Dhruv
2012-11-12 13:41:58 +01:00
committed by Oleg Pudeyev
parent b453f359ff
commit 764da97772

View File

@@ -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;
}