aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-09-22 13:02:19 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-09-22 13:02:19 +0200
commita4edb41e3f65cb5907be6513ee5066bc3c7b5413 (patch)
tree1b534cb9f106d59ad13e55f2289e6ca4e6823b1e /phpBB/styles
parent53aa79cd296938283e73f5a23475d3c40dd3c9be (diff)
parentc9284e1c687c4a76d6b8503f980eecc21bc35939 (diff)
downloadforums-a4edb41e3f65cb5907be6513ee5066bc3c7b5413.tar
forums-a4edb41e3f65cb5907be6513ee5066bc3c7b5413.tar.gz
forums-a4edb41e3f65cb5907be6513ee5066bc3c7b5413.tar.bz2
forums-a4edb41e3f65cb5907be6513ee5066bc3c7b5413.tar.xz
forums-a4edb41e3f65cb5907be6513ee5066bc3c7b5413.zip
Merge pull request #5664 from mrgoldy/ticket/16076
[ticket/16076] addFileFilter to check max file size per mime type
Diffstat (limited to 'phpBB/styles')
-rw-r--r--phpBB/styles/prosilver/template/plupload.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/plupload.html b/phpBB/styles/prosilver/template/plupload.html
index 593070321d..9425b7d769 100644
--- a/phpBB/styles/prosilver/template/plupload.html
+++ b/phpBB/styles/prosilver/template/plupload.html
@@ -45,7 +45,14 @@ phpbb.plupload = {
max_file_size: '{FILESIZE}b',
chunk_size: '{CHUNK_SIZE}b',
unique_names: true,
- filters: [{FILTERS}],
+ filters: {
+ mime_types: [
+ {FILTERS}
+ ],
+ mime_types_max_file_size: [
+ {FILTERS}
+ ],
+ },
{S_RESIZE}
headers: {'X-PHPBB-USING-PLUPLOAD': '1', 'X-Requested-With': 'XMLHttpRequest'},
file_data_name: 'fileupload',