program/include/rcube_config.php
@@ -40,6 +40,8 @@ /** * Load config from local config file * * @todo Remove global $CONFIG */ private function load() { @@ -54,6 +56,9 @@ // load database config include_once(INSTALL_PATH . 'config/db.inc.php'); $this->prop += (array)$rcmail_config; // load host-specific configuration $this->load_host_config(); // fix paths $this->prop['skin_path'] = $this->prop['skin_path'] ? unslashify($this->prop['skin_path']) : 'skins/default'; @@ -77,6 +82,9 @@ // clear output buffer ob_end_clean(); // export config data $GLOBALS['CONFIG'] = &$this->prop; }