diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-07-06 12:50:28 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-07-06 12:50:28 +0000 |
commit | 9c0e2776b79fdc712d3af43896b34c9a53b1c139 (patch) | |
tree | 9c239c4d56937d1a02ea7fb4791651c42768302d /engine | |
parent | 3850904d467fe0ca6cb8800a75f1b9e233bf8d90 (diff) | |
download | elgg-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.php | 2 |
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; |