From 9306c178a86c9a29402b34c9939ddf4969e0d022 Mon Sep 17 00:00:00 2001 From: jhilden Date: Thu, 4 Jun 2009 18:29:31 -0400 Subject: set filesize limit of swfupload to the same value as upload_max_filesize * now users get an error when they try to upload too big files * this should fix bug #337 * maybe it also needs to check for max_post_size --- modules/gallery/views/simple_uploader.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/gallery/views/simple_uploader.html.php b/modules/gallery/views/simple_uploader.html.php index 7b90c5be..6b097108 100644 --- a/modules/gallery/views/simple_uploader.html.php +++ b/modules/gallery/views/simple_uploader.html.php @@ -80,7 +80,7 @@ "user_agent": "server("HTTP_USER_AGENT") ?>", "csrf": "" }, - file_size_limit : "100 MB", + file_size_limit : "", file_types : "*.gif;*.jpg;*.jpeg;*.png;*.flv;*.mp4;*.GIF;*.JPG;*.JPEG;*.PNG;*.FLV;*.MP4", file_types_description : "", file_upload_limit : 1000, -- cgit v1.2.3