diff --git a/config.php b/config.php index 65a95cf..6883b5a 100644 --- a/config.php +++ b/config.php @@ -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; }