summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-04-06 04:05:43 +0000
committerBharat Mediratta <bharat@menalto.com>2009-04-06 04:05:43 +0000
commit6d940ce8cda6ea68a34023358b89819d75d8e7e7 (patch)
tree99ffdc596644e1274c80c62211316c0f5d310cc4
parent292b51ddd34e7d304ad30bcbdea08154bdcc1d4d (diff)
Add case-sensitive versions of file extensions to the file_types list
so that .JPG works on case sensitive systems like Unix. Also add .jpeg to the list. Fixes ticket #183.
-rw-r--r--core/views/simple_uploader.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/simple_uploader.html.php b/core/views/simple_uploader.html.php
index 604e3a5b..829c8fbc 100644
--- a/core/views/simple_uploader.html.php
+++ b/core/views/simple_uploader.html.php
@@ -71,7 +71,7 @@
"csrf": "<?= $csrf ?>"
},
file_size_limit : "100 MB",
- file_types : "*.gif;*.jpg;*.png;*.flv;*.mp4",
+ file_types : "*.gif;*.jpg;*.jpeg;*.png;*.flv;*.mp4;*.GIF;*.JPG;*.JPEG;*.PNG;*.FLV;*.MP4",
file_types_description : "<?= t("Photos and Movies") ?>",
file_upload_limit : 1000,
file_queue_limit : 0,