summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/setup.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-01-24 11:53:06 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-01-24 11:53:06 +0000
commit2b8703fbe10a01e92ba737d233faffc3727341a4 (patch)
treefb2a98a5b00863c133b7c18a0eed2f40d570474b /frontends/php/include/setup.inc.php
parentfe41bf62d79f697b051e75aa4b65889ac133d5e0 (diff)
downloadzabbix-2b8703fbe10a01e92ba737d233faffc3727341a4.tar.gz
zabbix-2b8703fbe10a01e92ba737d233faffc3727341a4.tar.xz
zabbix-2b8703fbe10a01e92ba737d233faffc3727341a4.zip
- [DEV-102] added support of UTF8 for GUI (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5275 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/setup.inc.php')
-rw-r--r--frontends/php/include/setup.inc.php15
1 files changed, 13 insertions, 2 deletions
diff --git a/frontends/php/include/setup.inc.php b/frontends/php/include/setup.inc.php
index e0de8761..b697622b 100644
--- a/frontends/php/include/setup.inc.php
+++ b/frontends/php/include/setup.inc.php
@@ -240,7 +240,7 @@
!isset($ZBX_CONFIG['allowed_db']['no']),
'Required any databases support [MySQL or PostgreSQL or Oracle]'));
- /* Check BC math */
+/* Check BC math */
$bcmath_fnc_exist =
function_exists('bcadd') &&
function_exists('bccomp') &&
@@ -248,7 +248,7 @@
function_exists('bcmod') &&
function_exists('bcmul') &&
function_exists('bcpow') &&
- /* This function is supported by PHP5 only */
+/* This function is supported by PHP5 only */
/* function_exists('bcpowmod') &&*/
function_exists('bcscale') &&
function_exists('bcsqrt') &&
@@ -260,6 +260,17 @@
$bcmath_fnc_exist ? 'yes' : 'no',
$bcmath_fnc_exist,
'Required bcmath module [configured PHP with --enable-bcmath]'));
+
+/* Check mb-strings
+ $mbstrings_fnc_exist = mbstrings_available();
+ $table->AddRow(
+ $this->get_test_result(
+ $final_result,
+ 'PHP MB String support',
+ $mbstrings_fnc_exist ? 'yes' : 'no',
+ $mbstrings_fnc_exist,
+ 'Required Multibyte String module [configured PHP with --enable-mbstring]'));
+//*/
/* Check GD existence */
$gd_version = S_NO;