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.
2 parents 6934848 + 8d51433 commit 971b0daCopy full SHA for 971b0da
system/Security/CheckPhpIni.php
@@ -141,9 +141,10 @@ public static function checkIni(): array
141
$ini = ini_get_all();
142
143
foreach ($items as $key => $values) {
144
+ $hasKeyInIni = array_key_exists($key, $ini);
145
$output[$key] = [
- 'global' => $ini[$key]['global_value'],
146
- 'current' => $ini[$key]['local_value'],
+ 'global' => $hasKeyInIni ? $ini[$key]['global_value'] : 'disabled',
147
+ 'current' => $hasKeyInIni ? $ini[$key]['local_value'] : 'disabled',
148
'recommended' => $values['recommended'] ?? '',
149
'remark' => $values['remark'] ?? '',
150
];
0 commit comments