diff --git a/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Dl b/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Dl index 7442c82..73fa574 100644 --- a/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Dl +++ b/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;