Make sure that the settings roundcube knows about are exposed to
the Horde_Kolab_* libraries used by the kolab_* roundcube plugins. Solves #108
This commit is contained in:
parent
2ff0adf9e8
commit
9eee733ed2
1 changed files with 5 additions and 0 deletions
|
@ -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']);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue