We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72be81b commit 78a0688Copy full SHA for 78a0688
interface/web/sites/ajax_get_json.php
@@ -107,7 +107,11 @@
107
} else {
108
$php_version = $php_record['name'].':'.$php_record['php_fastcgi_binary'].':'.$php_record['php_fastcgi_ini_dir'];
109
}
110
- $json .= '"'.$php_version.'": "'.$php_record['name'].'",';
+ if($php_record['name'] != $web_config['php_default_name']) {
111
+ $json .= '"'.$php_version.'": "'.$php_record['name'].'",';
112
+ } else {
113
+ $json .= '"": "'.$php_record['name'].'",';
114
+ }
115
116
117
unset($php_records);
0 commit comments