From f1ab5e2195e410ae3aa101fdbf9cc149671cfee1 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 26 Jul 2017 18:44:34 +0200 Subject: [PATCH] Remove hardcoded PHP version --- root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Dl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 f442141..7442c82 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 @@ -1,8 +1,8 @@ { -if ($PHP_VERSION eq '56'){ +if ($PHP_VERSION eq '__PHP_VERSION__'){ if (($dl{'status'} || 'disabled') eq 'enabled'){ - my $max_upload_size = ($dl{MaxUploadSize} || '4096') . 'M'; + my $max_upload_size = ($dl{MaxUploadSize} || '4096'); my $id = 'dl'; $OUT .=<<_EOF;