From 2a8899754a45857706cab4f1bd3ec3ecf7054358 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sun, 20 Oct 2019 13:47:30 +0100 Subject: increase max allowed file size --- lib/helpers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/helpers.php') diff --git a/lib/helpers.php b/lib/helpers.php index ebe1e7b..695ca27 100644 --- a/lib/helpers.php +++ b/lib/helpers.php @@ -407,8 +407,8 @@ function validate_photo(&$file) { } // You should also check filesize here. - if ($file['size'] > 4000000) { - throw new RuntimeException('Exceeded filesize limit.'); + if ($file['size'] > 12000000) { + throw new RuntimeException('Exceeded Quill filesize limit.'); } // DO NOT TRUST $file['mime'] VALUE !! -- cgit v1.2.3