Skip to content
Newer
Older
100644 45 lines (30 sloc) 1.48 KB
4e17e6c @thomascube Initial revision
thomascube authored
1 <?php
2
3 /*
4 +-----------------------------------------------------------------------+
5 | Configuration file for database access |
6 | |
7 | This file is part of the RoundCube Webmail client |
8 | Copyright (C) 2005, RoundCube Dev. - Switzerland |
52c1f28 @thomascube Minor bugfixes and SMTP support
thomascube authored
9 | Licensed under the GNU GPL |
4e17e6c @thomascube Initial revision
thomascube authored
10 | |
11 +-----------------------------------------------------------------------+
12
13 */
14
15 $rcmail_config = array();
16
1676e1e Added PEAR:DB support plus database replication support
svncommit authored
17 // PEAR database DSN for read/write operations
42b1135 @thomascube Several bugfixes and feature improvements
thomascube authored
18 // format is db_provider://user:password@host/databse
7902df4 @thomascube Fixed SSL support; improved Courier compatibility; some visual enhanc…
thomascube authored
19 // currentyl suported db_providers: mysql, sqlite
4e17e6c @thomascube Initial revision
thomascube authored
20
1676e1e Added PEAR:DB support plus database replication support
svncommit authored
21 $rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
42b1135 @thomascube Several bugfixes and feature improvements
thomascube authored
22 // sqlite example: 'sqlite://./sqlite.db?mode=0646';
4e17e6c @thomascube Initial revision
thomascube authored
23
1676e1e Added PEAR:DB support plus database replication support
svncommit authored
24 // PEAR database DSN for read only operations (if empty write database will be used)
7cc38e0 @thomascube Added Finnish, Romanian and Chinese translation
thomascube authored
25 // useful for database replication
1676e1e Added PEAR:DB support plus database replication support
svncommit authored
26 $rcmail_config['db_dsnr'] = '';
4e17e6c @thomascube Initial revision
thomascube authored
27
f45ec7e MDB2 integration
svncommit authored
28 // database backend to use (only db or mdb2 are supported)
29 $rcmail_config['db_backend'] = 'db';
30
4e17e6c @thomascube Initial revision
thomascube authored
31 // you can define specific table names used to store webmail data
32 $rcmail_config['db_table_users'] = 'users';
33
34 $rcmail_config['db_table_identities'] = 'identities';
35
36 $rcmail_config['db_table_contacts'] = 'contacts';
37
38 $rcmail_config['db_table_session'] = 'session';
39
40 $rcmail_config['db_table_cache'] = 'cache';
41
42
43 // end db config file
44 ?>
Something went wrong with that request. Please try again.