PHP function error fixed

This commit is contained in:
Frank Agerholm 2019-01-16 19:33:04 +01:00
commit 29898d6417

View file

@ -4,7 +4,7 @@
function get_cfg_from_env($name, $default='') {
$ret = null;
$tmp = getent($name);
$tmp = getenv($name);
if( isset($tmp) and $tmp != '' ) {
$ret = $tmp;
}