summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-05-09 12:26:45 +0000
committerthomascube <thomas@roundcube.net>2008-05-09 12:26:45 +0000
commit2ca388d0d756b57398d129f51ae6fa087e4b045e (patch)
tree7be588535c398d42d8a4b3dd54a94c1c20a57e8f
parentad6958979248a9abfeba0acd1353c17204498431 (diff)
Call load_host_config() and add reference to Howto_Config (#1485040)
-rw-r--r--config/main.inc.php.dist1
-rw-r--r--program/include/rcube_config.php3
2 files changed, 4 insertions, 0 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index ac34d6dfc..670bee200 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -273,6 +273,7 @@ $rcmail_config['address_book_type'] = 'sql';
$rcmail_config['dont_override'] = array();
// try to load host-specific configuration
+// see http://trac.roundcube.net/wiki/Howto_Config for more details
$rcmail_config['include_host_config'] = false;
// don't let users set pagesize to more than this value if set
diff --git a/program/include/rcube_config.php b/program/include/rcube_config.php
index 277299f4a..91e37222c 100644
--- a/program/include/rcube_config.php
+++ b/program/include/rcube_config.php
@@ -54,6 +54,9 @@ class rcube_config
// 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';