public function get($key, $default = null)
    {
        if (!isset($this->_configs[$key])) {
            $cfg = get_cfg_var($key);
            if ($cfg !== false) {
                return $cfg;
            }

            return $default;
        }

        return $this->_configs[$key];
    }