Commit 12bb051b authored by catch's avatar catch

Issue #2332295 by Berdir: Fixed Unicode requirement check not working with PHP 5.6.

parent ae5d5c84
......@@ -163,7 +163,8 @@ public static function check() {
static::$status = static::STATUS_ERROR;
return 'mbstring.encoding_translation';
}
if (ini_get('mbstring.http_input') != 'pass') {
// mbstring.http_input is deprecated and empty by default in PHP 5.6.
if (version_compare(PHP_VERSION, '5.6.0') == -1 && ini_get('mbstring.http_input') != 'pass') {
static::$status = static::STATUS_ERROR;
return 'mbstring.http_input';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment