This commit is contained in:
Michael RICOIS 2016-11-25 21:10:07 +01:00
parent f317addf6a
commit 520f3802b1

View File

@ -262,9 +262,11 @@ $tabDico = array(
), ),
); );
//Définition bdd local
$configApp = new Zend_Config($application->getOptions()); $configApp = new Zend_Config($application->getOptions());
Zend_Registry::set('config', $configApp); Zend_Registry::set('config', $configApp);
define('LOG_PATH', $configApp->path->data.'/log');
//Définition bdd local
try { try {
$db = Zend_Db::factory($configApp->resources->db); $db = Zend_Db::factory($configApp->resources->db);
$dbMetier = Zend_Db::factory($configApp->profil->db->metier); $dbMetier = Zend_Db::factory($configApp->profil->db->metier);