Set File Size to 20MB

This commit is contained in:
johnnyq
2023-03-21 13:00:50 -04:00
parent 035be88e72
commit 3202bceddd

View File

@@ -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;
}