From 6fcb1a1d123ced1e653be67abb7a6668a99f066d Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 7 Nov 2009 16:59:03 +0000 Subject: [PATCH] Update dbconfig-common_support.patch --- debian/patches/dbconfig-common_support.patch | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/patches/dbconfig-common_support.patch b/debian/patches/dbconfig-common_support.patch index f6f01c2..61938fa 100644 --- a/debian/patches/dbconfig-common_support.patch +++ b/debian/patches/dbconfig-common_support.patch @@ -2,17 +2,19 @@ The default db.inc.php is modified to adapt it to the use of dbconfig-common pac --- roundcube_0.1~beta2.2/config/db.inc.php.dist 2006-03-20 23:08:51.000000000 +0100 +++ roundcube_0.1~beta2.2/config/db.inc.php.dist 2007-03-13 14:33:38.000000000 +0100 -@@ -14,13 +14,20 @@ +@@ -14,15 +14,20 @@ $rcmail_config = array(); -// PEAR database DSN for read/write operations -// format is db_provider://user:password@host/database +-// For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php -// currently supported db_providers: mysql, mysqli, pgsql, sqlite, mssql - -$rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail'; -// postgres example: 'pgsql://roundcube:pass@localhost/roundcubemail'; --// sqlite example: 'sqlite://./sqlite.db?mode=0646'; +-// Warning: for SQLite use absolute path in DSN: +-// sqlite example: 'sqlite:////full/path/to/sqlite.db?mode=0646'; +/* Do not set db_dsnw here, use dpkg-reconfigure roundcube to configure database ! */ + +include_once("/etc/roundcube/debian-db.php"); @@ -30,4 +32,3 @@ The default db.inc.php is modified to adapt it to the use of dbconfig-common pac // PEAR database DSN for read only operations (if empty write database will be used) // useful for database replication - -- 2.39.5