New database config for crontab
This commit is contained in:
parent
4059e0dd19
commit
1bf4300ad1
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user