Remove hardcoded PHP version

This commit is contained in:
Daniel Berteaud 2017-07-26 18:44:34 +02:00
parent 47287ab61f
commit f1ab5e2195
1 changed files with 2 additions and 2 deletions

View File

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