Remove config
This commit is contained in:
parent
edfe7e30bd
commit
b32e774795
@ -39,12 +39,6 @@ $c = new Zend_Config($application->getOptions());
|
||||
$db = Zend_Db::factory($c->profil->db->metier);
|
||||
Zend_Db_Table::setDefaultAdapter($db);
|
||||
|
||||
require_once APPLICATION_PATH.'/configs/config.php';
|
||||
require_once 'framework/fwk.php';
|
||||
require_once 'framework/common/chiffres.php';
|
||||
require_once 'framework/common/dates.php';
|
||||
require_once 'framework/mail/sendMail.php';
|
||||
|
||||
$fp = fopen($file.'-'.date('YmdHis').'.csv', 'w');
|
||||
$delimiter = ',';
|
||||
$fileHeader = array(
|
||||
|
@ -298,9 +298,6 @@ try {
|
||||
}
|
||||
Zend_Registry::set('doctrine', $conn);
|
||||
|
||||
//Chargement des classes metier
|
||||
require_once APPLICATION_PATH.'/configs/config.php';
|
||||
|
||||
if ($opts->id) {
|
||||
$commandesM = new Application_Model_Commandes($db);
|
||||
$commande = $commandesM->find(intval($opts->id))->current();
|
||||
|
Loading…
Reference in New Issue
Block a user