mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 22:32:40 +08:00
Fixes #17328: Added mime aliases for BMP and SVG files
This commit is contained in:
committed by
Alexander Makarov
parent
1f3e89d056
commit
2ca8da062c
@ -6,6 +6,7 @@ Yii Framework 2 Change Log
|
||||
|
||||
- Bug #16509: Fixed console command help text wordwrap for multi-byte strings (alexkart)
|
||||
- Bug #17299: Fixed adding of input error class in `\yii\widgets\ActiveField::widget` (alexkart)
|
||||
- Bug #17328: Added mime aliases for BMP and SVG files (cmoeke)
|
||||
|
||||
|
||||
2.0.19 May 21, 2019
|
||||
|
||||
@ -6,4 +6,15 @@
|
||||
*/
|
||||
return [
|
||||
'text/xml' => 'application/xml',
|
||||
'image/svg' => 'image/svg+xml',
|
||||
'image/x-bmp' => 'image/bmp',
|
||||
'image/x-bitmap' => 'image/bmp',
|
||||
'image/x-xbitmap' => 'image/bmp',
|
||||
'image/x-win-bitmap' => 'image/bmp',
|
||||
'image/x-windows-bmp' => 'image/bmp',
|
||||
'image/ms-bmp' => 'image/bmp',
|
||||
'image/x-ms-bmp' => 'image/bmp',
|
||||
'application/bmp' => 'image/bmp',
|
||||
'application/x-bmp' => 'image/bmp',
|
||||
'application/x-win-bitmap' => 'image/bmp',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user