add webp to supported mimetypes
This commit is contained in:
parent
1e6103b1f1
commit
ac3b26f9f5
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@ function mime2ext($mime) {
|
||||||
'application/x-binary' => 'bin',
|
'application/x-binary' => 'bin',
|
||||||
'application/x-macbinary' => 'bin',
|
'application/x-macbinary' => 'bin',
|
||||||
'image/bmp' => 'bmp',
|
'image/bmp' => 'bmp',
|
||||||
|
'image/webp' => 'webp',
|
||||||
|
'image/x-webp' => 'x-webp',
|
||||||
'image/x-bmp' => 'bmp',
|
'image/x-bmp' => 'bmp',
|
||||||
'image/x-bitmap' => 'bmp',
|
'image/x-bitmap' => 'bmp',
|
||||||
'image/x-xbitmap' => 'bmp',
|
'image/x-xbitmap' => 'bmp',
|
||||||
|
|
Loading…
Reference in a new issue