Minor correction

This commit is contained in:
Netkas 2023-07-11 14:36:36 -04:00
parent 75bab04162
commit fccc0cd20c
No known key found for this signature in database
GPG key ID: 5DAF58535614062B

View file

@ -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))