diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-05-31 08:12:36 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-05-31 08:12:36 +0200 |
commit | a23df94af18bfa814c1665f67f3b660de993eb91 (patch) | |
tree | c1ef8f8496bdb4b110876660686f28f58f5ff7ce /lib/private/legacy | |
parent | b2e524b9367511e0496f22d45c87ecc974dda2ed (diff) | |
download | nextcloud-server-a23df94af18bfa814c1665f67f3b660de993eb91.tar.gz nextcloud-server-a23df94af18bfa814c1665f67f3b660de993eb91.zip |
Properly check for mbstring extension
mb_detect_encoding is in the fallback we ship in the polyfill library, mb_strcut is not. Thus this lead to a false positive and ownCloud would just break.
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php index e3d678f568d..b744db21238 100644 --- a/lib/private/legacy/util.php +++ b/lib/private/legacy/util.php @@ -738,7 +738,7 @@ class OC_Util { ), 'functions' => [ 'xml_parser_create' => 'libxml', - 'mb_detect_encoding' => 'mb multibyte', + 'mb_strcut' => 'mb multibyte', 'ctype_digit' => 'ctype', 'json_encode' => 'JSON', 'gd_info' => 'GD', |