diff --git a/config.php b/config.php index 6883b5a..1f7ba82 100644 --- a/config.php +++ b/config.php @@ -3,7 +3,7 @@ function get_cfg_from_env($name, $default='') { - $ret = null; + $ret = $default; $tmp = getenv($name); if( isset($tmp) and $tmp != '' ) { $ret = $tmp;