From 520f3802b1fffac2c74869b4199d19133ab2f9b1 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Fri, 25 Nov 2016 21:10:07 +0100 Subject: [PATCH] LOG_PATH --- scripts/jobs/enrichissement.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/jobs/enrichissement.php b/scripts/jobs/enrichissement.php index 28689672..e2329445 100644 --- a/scripts/jobs/enrichissement.php +++ b/scripts/jobs/enrichissement.php @@ -262,9 +262,11 @@ $tabDico = array( ), ); -//Définition bdd local $configApp = new Zend_Config($application->getOptions()); Zend_Registry::set('config', $configApp); +define('LOG_PATH', $configApp->path->data.'/log'); + +//Définition bdd local try { $db = Zend_Db::factory($configApp->resources->db); $dbMetier = Zend_Db::factory($configApp->profil->db->metier);