summaryrefslogtreecommitdiff
path: root/program/include/rcube_config.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-05-15 20:05:20 +0000
committerthomascube <thomas@roundcube.net>2008-05-15 20:05:20 +0000
commit033478df29d56dcd0a2b521192f0d53845c6b701 (patch)
tree0d12bd164954a9c5430df2d9658c1c1155a3802d /program/include/rcube_config.php
parent51cca60914ba708a783d4bb72f1446820e5625c5 (diff)
Link global config array with class props (to be removed)
Diffstat (limited to 'program/include/rcube_config.php')
-rw-r--r--program/include/rcube_config.php5
1 files changed, 5 insertions, 0 deletions
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;
}