]> git.donarmstrong.com Git - roundcube.git/blobdiff - config/db.inc.php.dist
Imported Upstream version 0.3.1
[roundcube.git] / config / db.inc.php.dist
index 151439a54fa7ce78beae44d8ab280af2e285f3bb..a9ffe52acefd0eef19a48cf3e2d603230cb12970 100644 (file)
@@ -5,7 +5,7 @@
  | Configuration file for database access                                |
  |                                                                       |
  | This file is part of the RoundCube Webmail client                     |
- | Copyright (C) 2005-2008, RoundCube Dev. - Switzerland                 |
+ | Copyright (C) 2005-2009, RoundCube Dev. - Switzerland                 |
  | Licensed under the GNU GPL                                            |
  |                                                                       |
  +-----------------------------------------------------------------------+
@@ -16,19 +16,18 @@ $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';
 
 // PEAR database DSN for read only operations (if empty write database will be used)
 // useful for database replication
 $rcmail_config['db_dsnr'] = '';
 
-// database backend to use (only db or mdb2 are supported)
-$rcmail_config['db_backend'] = 'mdb2';
-
 // maximum length of a query in bytes
 $rcmail_config['db_max_length'] = 512000;  // 500K