Hello all,
I'm looking a way to pass PDO::ATTR_PERSISTENT => true in the
Zend_Db factory ...
Any ideas how to put it in a config.ini way or anything else.
$param = Zend::registry('config')->db->config->asArray();
//-> $param [] = array( PDO::ATTR_PERSISTENT => true);
$db = Zend_Db::factory(Zend::registry('config')->db->adapter,
$param);
Zend_Db_Table::setDefaultAdapter($db);
Thanks for the trip if it existe.
--
Bruno Friedmann <[EMAIL PROTECTED]>
Ioda-Net Sàrl
c/o RFV, H. Vauclair SA
Rue de l'Avenir 12
2800 Delémont - Switzerland
Tél : ++41 32 435 7171
Fax : ++41 32 435 7172
gsm : ++41 78 802 6760
www.ioda-net.ch Solutions informatiques et internet, coaching et
relooking
www.cfcel.com Centre de formation et de coaching en ligne