Use the freebusy configuration specified in /etc/roundcubemail/kolab.inc.php

This commit is contained in:
Jeroen van Meeuwen (Ergo Project) 2011-07-22 12:59:11 -04:00
parent 2981e5a3e6
commit 4555108baa

View file

@ -72,9 +72,11 @@ class rcube_kolab
// Re-set LDAP/IMAP host config
$ldap = array('server' => 'ldap://' . $_SESSION['imap_host'] . ':389');
$imap = array('server' => $_SESSION['imap_host'], 'port' => $_SESSION['imap_port']);
$freebusy = array('server' => $_SESSION['imap_host']);
$conf['kolab']['ldap'] = array_merge($ldap, (array)$conf['kolab']['ldap']);
$conf['kolab']['imap'] = array_merge($imap, (array)$conf['kolab']['imap']);
$conf['kolab']['freebusy'] = array_merge($freebusy, (array)$conf['kolab']['freebusy']);
self::$config = &$conf;
// pass the current IMAP authentication credentials to the Horde auth system