From fafe5dce9e98c657cba6b9cb1c9068fcbaaf35cb Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sat, 12 Sep 2009 03:53:27 -0400
Subject: [PATCH] - added comments to set absolute path for SQLite DSN (#1486095)

---
 config/db.inc.php.dist |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/config/db.inc.php.dist b/config/db.inc.php.dist
index 4020b26..a9ffe52 100644
--- a/config/db.inc.php.dist
+++ b/config/db.inc.php.dist
@@ -16,11 +16,13 @@
 
 // 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';
 
 // PEAR database DSN for read only operations (if empty write database will be used)
 // useful for database replication

--
Gitblit v1.9.1