MB are assumed if no unit is specified

tags/smeserver-dl-0.2.1-1
Daniel Berteaud 8 years ago
parent f1ab5e2195
commit f6928fbd5b
  1. 1
      root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Dl

@ -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;

Loading…
Cancel
Save