From 42b11351497ce67e96a0465c76694632cdfb3ecb Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Fri, 07 Oct 2005 10:17:08 -0400 Subject: [PATCH] Several bugfixes and feature improvements --- config/db.inc.php.dist | 23 +++++++++-------------- 1 files changed, 9 insertions(+), 14 deletions(-) diff --git a/config/db.inc.php.dist b/config/db.inc.php.dist index fb6d2bb..e1e95d1 100644 --- a/config/db.inc.php.dist +++ b/config/db.inc.php.dist @@ -6,7 +6,7 @@ | | | This file is part of the RoundCube Webmail client | | Copyright (C) 2005, RoundCube Dev. - Switzerland | - | All rights reserved. | + | Licensed under the GNU GPL | | | +-----------------------------------------------------------------------+ @@ -14,21 +14,16 @@ $rcmail_config = array(); -// database engine (currently supported: mysql) -$rcmail_config['db_type'] = 'mysql'; +// PEAR database DSN for read/write operations +// format is db_provider://user:password@host/databse +// currentyl suported db_providers: mysql, sqlite, pgsql -// database host -$rcmail_config['db_host'] = 'localhost'; +$rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail'; +// sqlite example: 'sqlite://./sqlite.db?mode=0646'; -// database user -$rcmail_config['db_user'] = 'roundcube'; - -// pwd -$rcmail_config['db_pass'] = 'pass'; - -// database name -$rcmail_config['db_name'] = 'roundcubemail'; - +// PEAR database DSN for read only operations (if empty write database will be used) +// userful for database replication +$rcmail_config['db_dsnr'] = ''; // you can define specific table names used to store webmail data $rcmail_config['db_table_users'] = 'users'; -- Gitblit v1.9.1