|
Last change
on this file since 12 was
12,
checked in by sparc, 8 years ago
|
|
Added PEAR:DB support plus database replication support
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
|
File size:
1.3 KB
|
| Line | |
|---|
| 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 | |
|---|
| 9 | | All rights reserved. | |
|---|
| 10 | | | |
|---|
| 11 | +-----------------------------------------------------------------------+ |
|---|
| 12 | |
|---|
| 13 | */ |
|---|
| 14 | |
|---|
| 15 | $rcmail_config = array(); |
|---|
| 16 | |
|---|
| 17 | // PEAR database DSN for read/write operations |
|---|
| 18 | //format is db_provider://user:password@host/databse |
|---|
| 19 | |
|---|
| 20 | $rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail'; |
|---|
| 21 | |
|---|
| 22 | // PEAR database DSN for read only operations (if empty write database will be used) |
|---|
| 23 | // userful for database replication |
|---|
| 24 | |
|---|
| 25 | $rcmail_config['db_dsnr'] = ''; |
|---|
| 26 | |
|---|
| 27 | // you can define specific table names used to store webmail data |
|---|
| 28 | $rcmail_config['db_table_users'] = 'users'; |
|---|
| 29 | |
|---|
| 30 | $rcmail_config['db_table_identities'] = 'identities'; |
|---|
| 31 | |
|---|
| 32 | $rcmail_config['db_table_contacts'] = 'contacts'; |
|---|
| 33 | |
|---|
| 34 | $rcmail_config['db_table_session'] = 'session'; |
|---|
| 35 | |
|---|
| 36 | $rcmail_config['db_table_cache'] = 'cache'; |
|---|
| 37 | |
|---|
| 38 | |
|---|
| 39 | // end db config file |
|---|
| 40 | ?> |
|---|
Note: See
TracBrowser
for help on using the repository browser.