Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-05-31 09:15:18 +0300
committerLukas Reschke <lukas@owncloud.com>2016-05-31 09:15:18 +0300
commit2516d07fdd2f915c5b7f9c3bc34c5c1c865390a4 (patch)
tree56c324c9d64294d798ce95aa40c3578b6c976355 /lib
parentabd8475336ef802e809d2ac5864353e2f7084093 (diff)
[stable9] 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')
-rw-r--r--lib/private/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index 88d78ad83c6..894fe9aa59f 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -731,7 +731,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',