diff --git a/src/ConfigLib/Configuration.php b/src/ConfigLib/Configuration.php index ffebcef..3457b5e 100644 --- a/src/ConfigLib/Configuration.php +++ b/src/ConfigLib/Configuration.php @@ -52,7 +52,8 @@ $name = strtolower($name); $name = str_replace(array('/', '\\', '.'), '_', $name); - if(!getenv(sprintf("CONFIGLIB_%s", strtoupper($name)))) + $env = getenv(sprintf("CONFIGLIB_%s", strtoupper($name))); + if($env !== false) { $environment_config = sprintf('CONFIGLIB_%s', strtoupper($name)); if(file_exists($environment_config))