diff --git a/config.php b/config.php index e835cce53fec0800deece75922c04a445fbaf1ec..f7c45f4369a9d84543468217fb2f70f2ff6d0cd6 100644 --- a/config.php +++ b/config.php @@ -30,15 +30,15 @@ class VtigerConfig { static function get($key, $defvalue='') { if (self::has($key)) { - global $$key; - return $$key; + global ${$key}; + return ${$key}; } return $defvalue; } static function has($key) { - global $$key; - return (isset($$key)); + global ${$key}; + return (isset(${$key})); } static function getOD($key, $defvalue='') {