From 033478df29d56dcd0a2b521192f0d53845c6b701 Mon Sep 17 00:00:00 2001 From: thomascube Date: Thu, 15 May 2008 20:05:20 +0000 Subject: Link global config array with class props (to be removed) --- program/include/rcube_config.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'program/include/rcube_config.php') diff --git a/program/include/rcube_config.php b/program/include/rcube_config.php index 91e37222c..8e956de1e 100644 --- a/program/include/rcube_config.php +++ b/program/include/rcube_config.php @@ -40,6 +40,8 @@ class rcube_config /** * Load config from local config file + * + * @todo Remove global $CONFIG */ private function load() { @@ -80,6 +82,9 @@ class rcube_config // clear output buffer ob_end_clean(); + + // export config data + $GLOBALS['CONFIG'] = &$this->prop; } -- cgit v1.2.3