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.
This commit is contained in:
Lukas Reschke 2016-05-31 08:12:36 +02:00
parent b2e524b936
commit a23df94af1
No known key found for this signature in database
GPG Key ID: 9AB0ADB949B6898C
1 changed files with 1 additions and 1 deletions

View File

@ -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',