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 f1bdbd7 + 912a7f3 commit 8c979d0Copy full SHA for 8c979d0
recovery/install/src/Requirements.php
@@ -106,9 +106,9 @@ protected function check($name)
106
} elseif (function_exists($name)) {
107
return true;
108
} elseif (($value = ini_get($name)) !== null) {
109
- if (strtolower($value) == 'off' || $value == 0) {
+ if (strtolower($value) == 'off' || (is_numeric($value) && $value == 0)) {
110
return false;
111
- } elseif (strtolower($value) == 'on' || $value == 1) {
+ } elseif (strtolower($value) == 'on' || (is_numeric($value) && $value == 1)) {
112
113
} else {
114
return $value;
0 commit comments