From 6d940ce8cda6ea68a34023358b89819d75d8e7e7 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 6 Apr 2009 04:05:43 +0000 Subject: 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. --- core/views/simple_uploader.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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": "" }, 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 : "", file_upload_limit : 1000, file_queue_limit : 0, -- cgit v1.2.3