Skip to content

Commit

Permalink
rearrange config of should_validate_size
Browse files Browse the repository at this point in the history
  • Loading branch information
streamtw committed Mar 23, 2017
1 parent a452604 commit df97c5c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/config/lfm.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => [
Expand Down

0 comments on commit df97c5c

Please sign in to comment.