aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search/fulltext_postgres.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-11-29 18:55:56 +0100
committerAndreas Fischer <bantu@phpbb.com>2012-11-29 18:55:56 +0100
commitaaacfae428a354b76a7197452ed94aa77b128ea5 (patch)
tree56853eaf0497e71fdd13bf9ee1b2ccf810973c4d /phpBB/includes/search/fulltext_postgres.php
parentb453f359ff6dab58b0eaf94548c4e58110fb02ec (diff)
parent79237b60b6b234e10f14cbcb00691b5e4374fd04 (diff)
downloadforums-aaacfae428a354b76a7197452ed94aa77b128ea5.tar
forums-aaacfae428a354b76a7197452ed94aa77b128ea5.tar.gz
forums-aaacfae428a354b76a7197452ed94aa77b128ea5.tar.bz2
forums-aaacfae428a354b76a7197452ed94aa77b128ea5.tar.xz
forums-aaacfae428a354b76a7197452ed94aa77b128ea5.zip
Merge remote-tracking branch 'p/ticket/11174' into develop
* p/ticket/11174: [ticket/11174] Global $cache is a cache service instance. [ticket/11174] Delete more copy pasting. [ticket/11174] Drop needless teardown functions. [ticket/11174] These tests do not need posts fixtures. [ticket/11174] Empty fixture for when we don't need any data. [ticket/11174] Eliminate search wrapper copy pasting. [ticket/11174] Extract phpbb_search_test_case. [ticket/11174] Delete copy pasting. [ticket/11174] Move assertion definition to base class. [ticket/11174] add unit tests for postgres search backend [ticket/11174] include utf_tools in postgres search backend [ticket/11174] negation queries do not return false [ticket/11174] set config values [ticket/11174] add test case for native test [ticket/11174] rename native wrapper class [ticket/11174] add mysql unit tests [ticket/11174] removes unnecessary space from word [ticket/11174] include utf_tools in mysql backend
Diffstat (limited to 'phpBB/includes/search/fulltext_postgres.php')
-rw-r--r--phpBB/includes/search/fulltext_postgres.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/includes/search/fulltext_postgres.php b/phpBB/includes/search/fulltext_postgres.php
index 08f64735b6..2880610655 100644
--- a/phpBB/includes/search/fulltext_postgres.php
+++ b/phpBB/includes/search/fulltext_postgres.php
@@ -121,6 +121,14 @@ class phpbb_search_fulltext_postgres extends phpbb_search_base
}
}
+ /**
+ * Load the UTF tools
+ */
+ if (!function_exists('utf8_strlen'))
+ {
+ include($phpbb_root_path . 'includes/utf/utf_tools.' . $phpEx);
+ }
+
$error = false;
}