Commit 78a06887 authored by Florian Schaal's avatar Florian Schaal

fixed "named php-default "

parent 72be81ba
......@@ -107,7 +107,11 @@ if($type == 'getphpfastcgi'){
} else {
$php_version = $php_record['name'].':'.$php_record['php_fastcgi_binary'].':'.$php_record['php_fastcgi_ini_dir'];
}
$json .= '"'.$php_version.'": "'.$php_record['name'].'",';
if($php_record['name'] != $web_config['php_default_name']) {
$json .= '"'.$php_version.'": "'.$php_record['name'].'",';
} else {
$json .= '"": "'.$php_record['name'].'",';
}
}
}
unset($php_records);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment