Skip to content
Snippets Groups Projects
Commit 78a06887 authored by Florian Schaal's avatar Florian Schaal
Browse files

fixed "named php-default "

parent 72be81ba
No related branches found
No related tags found
No related merge requests found
...@@ -107,7 +107,11 @@ if($type == 'getphpfastcgi'){ ...@@ -107,7 +107,11 @@ if($type == 'getphpfastcgi'){
} else { } else {
$php_version = $php_record['name'].':'.$php_record['php_fastcgi_binary'].':'.$php_record['php_fastcgi_ini_dir']; $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); unset($php_records);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment