Add mime type variant

This commit is contained in:
Bartek Fabiszewski 2020-07-05 10:44:03 +02:00
parent 974ee4ab56
commit 6b75b7e93a

View File

@ -41,6 +41,7 @@ class uUpload {
private static function getMimeMap() {
if (empty(self::$mimeMap)) {
self::$mimeMap["image/jpeg"] = "jpg";
self::$mimeMap["image/jpg"] = "jpg";
self::$mimeMap["image/x-ms-bmp"] = "bmp";
self::$mimeMap["image/gif"] = "gif";
self::$mimeMap["image/png"] = "png";