mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Set File Size to 20MB
This commit is contained in:
@@ -609,8 +609,8 @@ function checkFileUpload($file, $allowed_extensions) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check the size is under 2 MB
|
// Check the size is under 20 MB
|
||||||
if ($size > 2097152) {
|
if ($size > 20 * 1024 * 1024) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user