Correction déclaration adaptateur mysql
This commit is contained in:
parent
5f99e570e1
commit
d20e31cd61
@ -44,7 +44,7 @@ if(isset($opts->help))
|
||||
}
|
||||
|
||||
$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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user