diff --git a/plugins/kolab_core/rcube_kolab.php b/plugins/kolab_core/rcube_kolab.php index 82428eff..7c837de0 100644 --- a/plugins/kolab_core/rcube_kolab.php +++ b/plugins/kolab_core/rcube_kolab.php @@ -33,6 +33,11 @@ class rcube_kolab $rcmail = rcmail::get_instance(); + // Set Horde configuration + $GLOBALS['conf']['sql'] = MDB2::parseDSN($rcmail->config->get('db_dsnw')); + $GLOBALS['conf']['sql']['charset'] = 'utf-8'; + $GLOBALS['conf']['sql']['phptype'] = 'mysql'; + // get password of logged user $pwd = $rcmail->decrypt($_SESSION['password']);