Config loading
This commit is contained in:
parent
c1b1def04d
commit
e1951a6468
@ -42,7 +42,7 @@ if(isset($opts->help))
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
$c = Zend_Registry::get('config');
|
$c = new Zend_Config($application->getOptions());
|
||||||
$db = Zend_Db::factory($c->profil->db->ciblage);
|
$db = Zend_Db::factory($c->profil->db->ciblage);
|
||||||
|
|
||||||
$commandesM = new Application_Model_EnrichissementIdentifiants($db);
|
$commandesM = new Application_Model_EnrichissementIdentifiants($db);
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/usr/bin/php
|
|
||||||
<?php
|
<?php
|
||||||
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
|
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user