Remove config

This commit is contained in:
Michael RICOIS 2016-11-25 18:56:03 +01:00
parent edfe7e30bd
commit b32e774795
2 changed files with 0 additions and 9 deletions

View File

@ -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(

View File

@ -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();