Allow Extra file extentions to be uploaded, increased file upload hard limit in code from 20MB to 500MB

This commit is contained in:
johnnyq
2023-08-09 16:38:53 -04:00
parent 850c3f7942
commit 43f016f70f
4 changed files with 13 additions and 7 deletions

View File

@@ -617,8 +617,8 @@ function checkFileUpload($file, $allowed_extensions) {
return false;
}
// Check the size is under 20 MB
if ($size > 20 * 1024 * 1024) {
// Check the size is under 500 MB
if ($size > 500 * 1024 * 1024) {
return false;
}