MB are assumed if no unit is specified

This commit is contained in:
Daniel Berteaud 2017-07-26 18:44:50 +02:00
parent f1ab5e2195
commit f6928fbd5b
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
if ($PHP_VERSION eq '__PHP_VERSION__'){
if (($dl{'status'} || 'disabled') eq 'enabled'){
my $max_upload_size = ($dl{MaxUploadSize} || '4096');
$max_upload_size .= 'M' if ($max_upload_size =~ m/^\d+$/);
my $id = 'dl';
$OUT .=<<_EOF;