From 92d18cf32edab81ac77f547cfa718cf28a573c92 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Fri, 04 Oct 2013 07:50:12 -0400 Subject: [PATCH] New option to disable the use of already established dsnw connections for subsequent reads --- config/defaults.inc.php | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/config/defaults.inc.php b/config/defaults.inc.php index 314150f..66db040 100644 --- a/config/defaults.inc.php +++ b/config/defaults.inc.php @@ -30,6 +30,9 @@ // useful for database replication $config['db_dsnr'] = ''; +// Disable the use of already established dsnw connections for subsequent reads +$config['db_dsnw_noread'] = false; + // use persistent db-connections // beware this will not "always" work as expected // see: http://www.php.net/manual/en/features.persistent-connections.php @@ -646,6 +649,7 @@ 'ldap_version' => 3, // using LDAPv3 'network_timeout' => 10, // The timeout (in seconds) for connect + bind arrempts. This is only supported in PHP >= 5.3.0 with OpenLDAP 2.x 'user_specific' => false, // If true the base_dn, bind_dn and bind_pass default to the user's IMAP login. + // When 'user_specific' is enabled following variables can be used in base_dn/bind_dn config: // %fu - The full username provided, assumes the username is an email // address, uses the username_domain value if not an email address. // %u - The username prior to the '@'. -- Gitblit v1.9.1