Remove hardcoded PHP version

tags/smeserver-dl-0.2.1-1
Daniel Berteaud 8 years ago
parent 47287ab61f
commit f1ab5e2195
  1. 4
      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'){ if (($dl{'status'} || 'disabled') eq 'enabled'){
my $max_upload_size = ($dl{MaxUploadSize} || '4096') . 'M'; my $max_upload_size = ($dl{MaxUploadSize} || '4096');
my $id = 'dl'; my $id = 'dl';
$OUT .=<<_EOF; $OUT .=<<_EOF;

Loading…
Cancel
Save