diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-05-09 12:26:45 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-05-09 12:26:45 +0000 |
| commit | 222775c2b2828a2f649a3bc471c5ba4b7ba656dd (patch) | |
| tree | 4d86e4cf5a74359c5cb256a15d7d87979258e91b | |
| parent | 609ad97a20669e8de8f3c1cf76e4bce4213b128f (diff) | |
Call load_host_config() and add reference to Howto_Config (#1485040)
git-svn-id: https://svn.roundcube.net/trunk@1370 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/config/main.inc.php.dist | 1 | ||||
| -rw-r--r-- | roundcubemail/program/include/rcube_config.php | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/roundcubemail/config/main.inc.php.dist b/roundcubemail/config/main.inc.php.dist index ac34d6dfc..670bee200 100644 --- a/roundcubemail/config/main.inc.php.dist +++ b/roundcubemail/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/roundcubemail/program/include/rcube_config.php b/roundcubemail/program/include/rcube_config.php index 277299f4a..91e37222c 100644 --- a/roundcubemail/program/include/rcube_config.php +++ b/roundcubemail/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'; |
