summaryrefslogtreecommitdiffstats
path: root/share/templates/roundcubemail/kolab.inc.php.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'share/templates/roundcubemail/kolab.inc.php.tpl')
-rw-r--r--share/templates/roundcubemail/kolab.inc.php.tpl10
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;
?>