diff --git a/src/config/lfm.php b/src/config/lfm.php index b524f47b..fa5004fb 100644 --- a/src/config/lfm.php +++ b/src/config/lfm.php @@ -74,13 +74,14 @@ // If true, non-alphanumeric folder name will be rejected. 'alphanumeric_directory' => false, + // If true, the uploading file's size will be verified for over than max_image_size/max_file_size. + 'should_validate_size' => false, + 'max_image_size' => 50000, 'max_file_size' => 50000, // If true, the uploading file's mime type will be valid in valid_image_mimetypes/valid_file_mimetypes. 'should_validate_mime' => false, - // If true, the uploading file's size will be verified for over than max_image_size/max_file_size. - 'should_validate_size' => false, // available since v1.3.0 'valid_image_mimetypes' => [