From 3202bcedddcf906e5bf5d56b5ce06956cb0c4459 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Tue, 21 Mar 2023 13:00:50 -0400 Subject: [PATCH] Set File Size to 20MB --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 3a421b9e..850b4cde 100644 --- a/functions.php +++ b/functions.php @@ -609,8 +609,8 @@ function checkFileUpload($file, $allowed_extensions) { return false; } - // Check the size is under 2 MB - if ($size > 2097152) { + // Check the size is under 20 MB + if ($size > 20 * 1024 * 1024) { return false; }