Add non-standard mime types 1
image/x-ms-bmp
This commit is contained in:
parent
3503041449
commit
465f02b981
1 changed files with 4 additions and 0 deletions
|
@ -37,6 +37,8 @@ class Files
|
|||
'image/png' => 'png',
|
||||
'image/bmp' => 'bmp',
|
||||
'image/webp' => 'webp',
|
||||
# non-standard mime types
|
||||
'image/x-ms-bmp' => 'bmp',
|
||||
];
|
||||
|
||||
/**
|
||||
|
@ -818,6 +820,8 @@ class Files
|
|||
'video/x-sgi-movie' => 'movie',
|
||||
'video/x-smv' => 'smv',
|
||||
'x-conference/x-cooltalk' => 'ice',
|
||||
# non-standard mime types
|
||||
'image/x-ms-bmp' => 'bmp',
|
||||
];
|
||||
|
||||
public function __construct(/* string|int */ $maxFileSize, /* string|int */ $maxImgSize)
|
||||
|
|
Loading…
Add table
Reference in a new issue