aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2007-01-27 17:38:45 +0000
committerNils Adermann <naderman@naderman.de>2007-01-27 17:38:45 +0000
commitbda5255ed372afd208a7a5404f220ee1456ec27f (patch)
treef33fe248da56cc0bc12e352f9e760401114bb61b /phpBB/includes/search
parent6a4c01cdc319c3bfdebbb54a80127f597345ed8a (diff)
downloadforums-bda5255ed372afd208a7a5404f220ee1456ec27f.tar
forums-bda5255ed372afd208a7a5404f220ee1456ec27f.tar.gz
forums-bda5255ed372afd208a7a5404f220ee1456ec27f.tar.bz2
forums-bda5255ed372afd208a7a5404f220ee1456ec27f.tar.xz
forums-bda5255ed372afd208a7a5404f220ee1456ec27f.zip
Display a note, that UTF-8 support in fulltext_mysql is not available with certain versins of PHP
git-svn-id: file:///svn/phpbb/trunk@6941 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/search')
-rw-r--r--phpBB/includes/search/fulltext_mysql.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/phpBB/includes/search/fulltext_mysql.php b/phpBB/includes/search/fulltext_mysql.php
index e475e012f0..7c67b755e1 100644
--- a/phpBB/includes/search/fulltext_mysql.php
+++ b/phpBB/includes/search/fulltext_mysql.php
@@ -786,6 +786,28 @@ class fulltext_mysql extends search_backend
$this->stats['total_posts'] = (int) $db->sql_fetchfield('total_posts');
$db->sql_freeresult($result);
}
+
+ /**
+ * Display a note, that UTF-8 support is not available with certain versions of PHP
+ */
+ function acp()
+ {
+ global $user, $config;
+
+
+ $tpl = '
+ <dl>
+ <dt><label>' . $user->lang['FULLTEXT_MYSQL_UNICODE'] . '</label><br /><span>' . $user->lang['FULLTEXT_MYSQL_UNICODE_EXPLAIN'] . '</span></dt>
+ <dd>' . (($this->pcre_properties) ? $user->lang['YES'] : $user->lang['NO']) . ' (PHP ' . PHP_VERSION . ')</dd>
+ </dl>
+ ';
+
+ // These are fields required in the config table
+ return array(
+ 'tpl' => $tpl,
+ 'config' => array()
+ );
+ }
}
?> \ No newline at end of file