|
@@ -37,6 +37,8 @@ class Files
|
|
'image/png' => 'png',
|
|
'image/png' => 'png',
|
|
'image/bmp' => 'bmp',
|
|
'image/bmp' => 'bmp',
|
|
'image/webp' => 'webp',
|
|
'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-sgi-movie' => 'movie',
|
|
'video/x-smv' => 'smv',
|
|
'video/x-smv' => 'smv',
|
|
'x-conference/x-cooltalk' => 'ice',
|
|
'x-conference/x-cooltalk' => 'ice',
|
|
|
|
+# non-standard mime types
|
|
|
|
+ 'image/x-ms-bmp' => 'bmp',
|
|
];
|
|
];
|
|
|
|
|
|
public function __construct(/* string|int */ $maxFileSize, /* string|int */ $maxImgSize)
|
|
public function __construct(/* string|int */ $maxFileSize, /* string|int */ $maxImgSize)
|