summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2016-06-14 00:21:05 -0400
committerSolomon Peachy <pizza@shaftnet.org>2016-06-14 00:21:05 -0400
commit169a75721c1dff276a9dfb19195cea233a3d3dd5 (patch)
tree84f27e049655b08726e55438bfc5bd00752112fe
parentecc48d6437a980516d82d009cc7b5e0e73e148fb (diff)
downloadpo-169a75721c1dff276a9dfb19195cea233a3d3dd5.tar.gz
po-169a75721c1dff276a9dfb19195cea233a3d3dd5.tar.bz2
po-169a75721c1dff276a9dfb19195cea233a3d3dd5.zip
[fix] Improper detection of php's mbstring extension
-rw-r--r--CHANGES1
-rw-r--r--src/install.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index d1910b2..cf751e1 100644
--- a/CHANGES
+++ b/CHANGES
@@ -36,6 +36,7 @@ v2.38 (Unreleased)
[fix] Errors upon emptying the trash weren't displayed properly
[fix] Unescaped search strings could lead to XSS bugs.
[add] Ability to natively print images to a direct-attached printer.
+ [fix] Fix detection of PHP's 'mbstring' extension
v2.37.1 (December 3, 2012)
diff --git a/src/install.php b/src/install.php
index f130fa4..8b8c854 100644
--- a/src/install.php
+++ b/src/install.php
@@ -937,7 +937,7 @@ if (!function_exists("bccomp")) {
print "<h4><font color=\"red\">PHP's BC Math routines are not installed or enabled. The <i>bccomp</i> extension is required.</font></h4>\n";
$go = 0;
}
-if (!function_exists("mbstring")) {
+if (!function_exists("mb_parse_str")) {
print "<h4><font color=\"red\">PHP's Multi-Byte String routines are not installed or enabled. The <i>mbstring</i> extension is required.</font></h4>\n";
$go = 0;
}