commit | author | age
|
4e17e6
|
1 |
<?php |
T |
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 | |
52c1f2
|
9 |
| Licensed under the GNU GPL | |
4e17e6
|
10 |
| | |
T |
11 |
+-----------------------------------------------------------------------+ |
|
12 |
|
|
13 |
*/ |
|
14 |
|
|
15 |
$rcmail_config = array(); |
|
16 |
|
1676e1
|
17 |
// PEAR database DSN for read/write operations |
42b113
|
18 |
// format is db_provider://user:password@host/databse |
T |
19 |
// currentyl suported db_providers: mysql, sqlite, pgsql |
4e17e6
|
20 |
|
1676e1
|
21 |
$rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail'; |
42b113
|
22 |
// sqlite example: 'sqlite://./sqlite.db?mode=0646'; |
4e17e6
|
23 |
|
1676e1
|
24 |
// PEAR database DSN for read only operations (if empty write database will be used) |
S |
25 |
// userful for database replication |
|
26 |
$rcmail_config['db_dsnr'] = ''; |
4e17e6
|
27 |
|
T |
28 |
// you can define specific table names used to store webmail data |
|
29 |
$rcmail_config['db_table_users'] = 'users'; |
|
30 |
|
|
31 |
$rcmail_config['db_table_identities'] = 'identities'; |
|
32 |
|
|
33 |
$rcmail_config['db_table_contacts'] = 'contacts'; |
|
34 |
|
|
35 |
$rcmail_config['db_table_session'] = 'session'; |
|
36 |
|
|
37 |
$rcmail_config['db_table_cache'] = 'cache'; |
|
38 |
|
|
39 |
|
|
40 |
// end db config file |
|
41 |
?> |