Pre Merge pull request !148 from runphp/N/A

pull/148/MERGE
runphp 4 years ago committed by Gitee
commit f64c8a9821

@ -120,7 +120,7 @@ public class FileUploadUtils
throws FileSizeLimitExceededException, InvalidExtensionException
{
long size = file.getSize();
if (DEFAULT_MAX_SIZE != -1 && size > DEFAULT_MAX_SIZE)
if (size > DEFAULT_MAX_SIZE)
{
throw new FileSizeLimitExceededException(DEFAULT_MAX_SIZE / 1024 / 1024);
}

Loading…
Cancel
Save