Add mime type variant
This commit is contained in:
parent
974ee4ab56
commit
6b75b7e93a
@ -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";
|
||||
@ -163,4 +164,4 @@ class uUpload {
|
||||
}
|
||||
return $fileMeta;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user