projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56d3977
)
CRM-21719 Require Multibyte PHP extension
author
Seamus Lee
<seamuslee001@gmail.com>
Sun, 28 Jan 2018 05:34:06 +0000
(16:34 +1100)
committer
Seamus Lee
<seamuslee001@gmail.com>
Sun, 28 Jan 2018 05:34:06 +0000
(16:34 +1100)
install/index.php
patch
|
blob
|
blame
|
history
diff --git
a/install/index.php
b/install/index.php
index 166bd2a8ef015349b4227796109fee34f885ef87..2367eab45b46a1657f2d995e857f3dac92c19be2 100644
(file)
--- a/
install/index.php
+++ b/
install/index.php
@@
-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"),