When using PHP4 and setting $rcmail_config['db_persistent'] = TRUE; RC doesn't use persistent connetions. Here's the patch:
$ svn diff program/include/rcube_db.inc
Index: program/include/rcube_db.inc
===================================================================
--- program/include/rcube_db.inc (revision 259)
+++ program/include/rcube_db.inc (working copy)
@@ -80,7 +80,7 @@
*/
function rcube_db($db_dsnw, $db_dsnr='', $pconn=false)
{
- $this->__construct($db_dsnw, $db_dsnr);
+ $this->__construct($db_dsnw, $db_dsnr, $pconn);
}
--
---------------------------------------------------------
Lic. Martín Marqués | SELECT 'mmarques' ||
Centro de Telemática | '@' || 'unl.edu.ar';
Universidad Nacional | DBA, Programador,
del Litoral | Administrador
---------------------------------------------------------