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 e6ef70c commit 8d51433Copy full SHA for 8d51433
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' => array_key_exists($key, $ini) ? $ini[$key]['global_value'] : 'disabled',
146
- 'current' => array_key_exists($key, $ini) ? $ini[$key]['local_value'] : 'disabled',
+ '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