aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-07-06 12:50:28 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-07-06 12:50:28 +0000
commit9c0e2776b79fdc712d3af43896b34c9a53b1c139 (patch)
tree9c239c4d56937d1a02ea7fb4791651c42768302d /engine
parent3850904d467fe0ca6cb8800a75f1b9e233bf8d90 (diff)
downloadelgg-9c0e2776b79fdc712d3af43896b34c9a53b1c139.tar.gz
elgg-9c0e2776b79fdc712d3af43896b34c9a53b1c139.tar.bz2
small tweak to filestore
git-svn-id: https://code.elgg.org/elgg/trunk@3388 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-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;