diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-09-07 12:44:29 +0100 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-09-07 12:44:29 +0100 |
commit | 639fa02f952574c515ce4d071d33a31ac18419e5 (patch) | |
tree | 3096160bb379d8aef1143f772d4dda82006ec997 /share/templates/roundcubemail/kolab.inc.php.tpl | |
parent | 0b3c16cae2c6adef3f928cb7e29cfdc11a18f877 (diff) | |
download | pykolab-639fa02f952574c515ce4d071d33a31ac18419e5.tar.gz |
Include $_SERVER["HTTP_HOST"] specific configuration if it is available.
Diffstat (limited to 'share/templates/roundcubemail/kolab.inc.php.tpl')
-rw-r--r-- | share/templates/roundcubemail/kolab.inc.php.tpl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/share/templates/roundcubemail/kolab.inc.php.tpl b/share/templates/roundcubemail/kolab.inc.php.tpl index b0801d8..f6fc5f4 100644 --- a/share/templates/roundcubemail/kolab.inc.php.tpl +++ b/share/templates/roundcubemail/kolab.inc.php.tpl @@ -1,9 +1,13 @@ <?php -\$rcmail_config['kolab_freebusy_server'] = 'http://' . \$_SERVER["HTTP_HOST"] . '/freebusy'; + \$rcmail_config['kolab_freebusy_server'] = 'http://' . \$_SERVER["HTTP_HOST"] . '/freebusy'; -\$rcmail_config['kolab_cache'] = true; + if (file_exists(RCMAIL_CONFIG_DIR . '/' . \$_SERVER["HTTP_HOST"] . '/' . basename(__FILE__)) { + include_once(RCMAIL_CONFIG_DIR . '/' . \$_SERVER["HTTP_HOST"] . '/' . basename(__FILE__)); + } -\$rcmail_config['kolab_ssl_verify_peer'] = false; + \$rcmail_config['kolab_cache'] = true; + + \$rcmail_config['kolab_ssl_verify_peer'] = false; ?> |