Skip to content

Commit

Permalink
Fixed issue #1140
Browse files Browse the repository at this point in the history
  • Loading branch information
mystralkk committed Dec 3, 2022
1 parent ef48c65 commit bdf2a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public_html/filemanager/connectors/php/filemanager.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function fm_has_write_permission($filepath)
'allowPaths' => [],
],
'upload' => [
'fileSizeLimit' => $_CONF['filemanager_upload_file_size_limit'],
'fileSizeLimit' => 1024 * 1024 * ((int) $_CONF['filemanager_upload_file_size_limit']),
'overwrite' => $_CONF['filemanager_upload_overwrite'],
'paramName' => 'upload',
],
Expand Down

0 comments on commit bdf2a63

Please sign in to comment.