Correction adapter bdd
This commit is contained in:
parent
8506f8099a
commit
6ae974d5ac
@ -227,7 +227,7 @@ $tabDico = array(
|
||||
|
||||
//Définition bdd
|
||||
$dbConfig = new Zend_Config_Ini(APPLICATION_PATH . '/configs/configuration.ini', 'databases');
|
||||
$db = Zend_Db::factory($dbConfig);
|
||||
$db = Zend_Db::factory($dbConfig->db);
|
||||
|
||||
$commandesM = new Application_Model_Commandes($db);
|
||||
$commande = $commandesM->find(intval($opts->id));
|
||||
|
Loading…
Reference in New Issue
Block a user