- @db_host = cfg.roundcube_dbhost
- @db_port = cfg.roundcube_dbport
- @db_opts = cfg.roundcube_dbopts
- @db_tty = cfg.roundcube_dbtty
- @db_name = cfg.roundcube_dbname
- @db_user = cfg.roundcube_dbuser
- @db_pass = cfg.roundcube_dbpass
+ @db_hash = {
+ :host => cfg.roundcube_dbhost,
+ :port => cfg.roundcube_dbport,
+ :options => cfg.roundcube_dbopts,
+ :tty => cfg.roundcube_dbtty,
+ :dbname => cfg.roundcube_dbname,
+ :user => cfg.roundcube_dbuser,
+ :password => cfg.roundcube_dbpass }