Correct database création
This commit is contained in:
parent
3c1d77f9a6
commit
000aad0357
@ -33,6 +33,7 @@ try {
|
||||
//Options
|
||||
array(
|
||||
'help|?' => "Displays usage information.",
|
||||
'cron' => "Mandatory option in crontab",
|
||||
'file=s' => "Manually define the file to process",
|
||||
'client=s' => "Define the client name for getting the file manually",
|
||||
'debug' => "Send a mail for debug",
|
||||
@ -53,7 +54,7 @@ if( isset($opts->help) || count($opts->getOptions())==0 )
|
||||
}
|
||||
|
||||
$c = new Zend_Config($application->getOptions());
|
||||
$db = Zend_Db::factory($c->profil->metier);
|
||||
$db = Zend_Db::factory($c->profil->db->metier);
|
||||
Zend_Db_Table::setDefaultAdapter($db);
|
||||
|
||||
$fluxM = new Application_Model_Sdv1FluxFileOut();
|
||||
|
Loading…
Reference in New Issue
Block a user