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 a4aae91 commit e6ef70cCopy full SHA for e6ef70c
system/Security/CheckPhpIni.php
@@ -142,8 +142,8 @@ public static function checkIni(): array
142
143
foreach ($items as $key => $values) {
144
$output[$key] = [
145
- 'global' => $ini[$key]['global_value'],
146
- 'current' => $ini[$key]['local_value'],
+ 'global' => array_key_exists($key, $ini) ? $ini[$key]['global_value'] : 'disabled',
+ 'current' => array_key_exists($key, $ini) ? $ini[$key]['local_value'] : 'disabled',
147
'recommended' => $values['recommended'] ?? '',
148
'remark' => $values['remark'] ?? '',
149
];
0 commit comments