aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/filestore.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/filestore.php')
-rw-r--r--engine/lib/filestore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/filestore.php b/engine/lib/filestore.php
index dacde7c90..3699092cb 100644
--- a/engine/lib/filestore.php
+++ b/engine/lib/filestore.php
@@ -971,7 +971,7 @@
}
if ($plugin == "photo") {
// do a mime type test
- if (in_array($uploaded['type'],array('image/jpeg','image/gif','image/png'))) {
+ if (in_array($uploaded['type'],array('image/jpeg','image/gif','image/png','image/jpg','image/jpe','image/pjpeg','image/x-png'))) {
$file = new PhotoPluginFile();
} else {
$bad_mime_type = true;