Merge pull request #11633 from eileenmcnaughton/option_value
[civicrm-core.git] / install / index.php
index 166bd2a8ef015349b4227796109fee34f885ef87..2367eab45b46a1657f2d995e857f3dac92c19be2 100644 (file)
@@ -727,6 +727,13 @@ class InstallRequirements {
       ts("JSON support not included in PHP."),
     ));
 
+    // check for Multibyte support such as mb_substr. Required for proper handling of Multilingual setups.
+    $this->requireFunction('mb_substr', array(
+      ts("PHP Configuration"),
+      ts("Multibyte support"),
+      ts("Multibyte support not enabled in PHP."),
+    ));
+
     // Check for xcache_isset and emit warning if exists
     $this->checkXCache(array(
       ts("PHP Configuration"),