diff --git a/helpers/upload.php b/helpers/upload.php index 2fe8fde..ddbec56 100644 --- a/helpers/upload.php +++ b/helpers/upload.php @@ -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; } -} \ No newline at end of file +}