Roundcube Community Forum

 

how to change mysql db with session value

Started by ramoneariel, November 21, 2014, 11:46:31 AM

Previous topic - Next topic

ramoneariel

I need to change the mysqlDB for each user, previously defined on login.

something like this :
  ???

$rcmail_config['db_dsnw'] = "mysql://roundcube:password@".$_SESSION['db_orig']."/roundcube";


Thank