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 8abb4f9 commit fa1a24dCopy full SHA for fa1a24d
src/Loader.php
@@ -374,7 +374,7 @@ public function setEnvironmentVariable($name, $value = null)
374
375
// If PHP is running as an Apache module and an existing
376
// Apache environment variable exists, overwrite it
377
- if (function_exists('apache_getenv') && function_exists('apache_setenv') && apache_getenv($name)) {
+ if (function_exists('apache_getenv') && function_exists('apache_setenv') && apache_getenv($name) !== false) {
378
apache_setenv($name, $value);
379
}
380
0 commit comments