-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1003,8 +1003,7 @@ | |
'zmm' => 'application/vnd.handheld-entertainment+xml', | ||
]; | ||
|
||
# fix for bundled libmagic bug, see also https://github.com/yiisoft/yii2/issues/19925 | ||
if ((PHP_VERSION_ID >= 80100 && PHP_VERSION_ID < 80122) || (PHP_VERSION_ID >= 80200 && PHP_VERSION_ID < 80209)) { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
bizley
Author
Member
|
||
if (PHP_VERSION_ID >= 80100) { | ||
$mimeTypes = array_replace($mimeTypes, array('xz' => 'application/octet-stream')); | ||
} | ||
|
||
|
@bizley Why this change was reverted?