mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Allow Extra file extentions to be uploaded, increased file upload hard limit in code from 20MB to 500MB
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user