New database config for crontab

This commit is contained in:
Michael RICOIS 2013-02-19 13:55:53 +00:00
parent 4059e0dd19
commit 1bf4300ad1

View File

@ -45,7 +45,7 @@ if(isset($opts->help))
$c = new Zend_Config($application->getOptions());
$db = Zend_Db::factory($c->profil->db);
$db = Zend_Db::factory($c->profil->db->local);
$commandesM = new Application_Model_Commandes($db);
$sql = $commandesM->select()