X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=config%2Fdb.inc.php.dist;h=4020b266ad0614b25fc00feb1b686352fbfdb922;hb=fa24934ebc1d1f5dc8967cc7a89450d0b0b0aacd;hp=895aa45f23e6a81a25e5bc865fc90b955d4c19df;hpb=8bb10dbda276f4c5f1050a05786ba5a5a6cc787d;p=roundcube.git diff --git a/config/db.inc.php.dist b/config/db.inc.php.dist index 895aa45..4020b26 100644 --- a/config/db.inc.php.dist +++ b/config/db.inc.php.dist @@ -5,7 +5,7 @@ | Configuration file for database access | | | | This file is part of the RoundCube Webmail client | - | Copyright (C) 2005-2007, RoundCube Dev. - Switzerland | + | Copyright (C) 2005-2009, RoundCube Dev. - Switzerland | | Licensed under the GNU GPL | | | +-----------------------------------------------------------------------+ @@ -15,8 +15,8 @@ $rcmail_config = array(); // PEAR database DSN for read/write operations -// format is db_provider://user:password@host/databse -// currentyl suported db_providers: mysql, pgsql, sqlite +// format is db_provider://user:password@host/database +// 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'; @@ -26,14 +26,13 @@ $rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail'; // useful for database replication $rcmail_config['db_dsnr'] = ''; -// database backend to use (only db or mdb2 are supported) -$rcmail_config['db_backend'] = 'db'; - // maximum length of a query in bytes $rcmail_config['db_max_length'] = 512000; // 500K // use persistent db-connections -$rcmail_config['db_persistent'] = TRUE; +// beware this will not "always" work as expected +// see: http://www.php.net/manual/en/features.persistent-connections.php +$rcmail_config['db_persistent'] = FALSE; // you can define specific table names used to store webmail data @@ -63,4 +62,4 @@ $rcmail_config['db_sequence_messages'] = 'message_ids'; // end db config file -?> \ No newline at end of file +?>