summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_config.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-05-15 20:05:20 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-05-15 20:05:20 +0000
commit5546f92cf670f15f8061b7cc5958cee01520b4f2 (patch)
treec92f96e174672ce433b60cad60eea289aec71f76 /roundcubemail/program/include/rcube_config.php
parent7ee6704c080c5cf5816f6c6d7f4449d755f51bed (diff)
Link global config array with class props (to be removed)
git-svn-id: https://svn.roundcube.net/trunk@1392 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_config.php')
-rw-r--r--roundcubemail/program/include/rcube_config.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcube_config.php b/roundcubemail/program/include/rcube_config.php
index 91e37222c..8e956de1e 100644
--- a/roundcubemail/program/include/rcube_config.php
+++ b/roundcubemail/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;
}