You’ll want to consider, on newer versions of ZF, using:
$DB = Zend_Db_Table::getDefaultAdapter();
$DB->getConnection();
// … do your work
$DB->closeConnection();
in conjunction with:
resources.db.isDefaultTableAdapter = true
in your app.ini
You’ll want to consider, on newer versions of ZF, using:
$DB = Zend_Db_Table::getDefaultAdapter();
$DB->getConnection();
// … do your work
$DB->closeConnection();
in conjunction with:
resources.db.isDefaultTableAdapter = true
in your app.ini