Minor correction
This commit is contained in:
parent
75bab04162
commit
fccc0cd20c
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,8 @@
|
||||||
$name = strtolower($name);
|
$name = strtolower($name);
|
||||||
$name = str_replace(array('/', '\\', '.'), '_', $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));
|
$environment_config = sprintf('CONFIGLIB_%s', strtoupper($name));
|
||||||
if(file_exists($environment_config))
|
if(file_exists($environment_config))
|
||||||
|
|
Loading…
Add table
Reference in a new issue