From 693675583e06d22dc03941759c1d444e265aec60 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Tue, 7 Mar 2017 14:55:17 +0100 Subject: [PATCH] Delete config key, n'existe pas ! --- application/modules/default/controllers/IndexController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/modules/default/controllers/IndexController.php b/application/modules/default/controllers/IndexController.php index 25c1f2432..25b3dfb75 100644 --- a/application/modules/default/controllers/IndexController.php +++ b/application/modules/default/controllers/IndexController.php @@ -58,7 +58,7 @@ class IndexController extends Zend_Controller_Action if (intval($version) == 2) { - $log = Zend_Registry::get('config')->profil->path->data.'/log/altisys.log'; + $log = Zend_Registry::get('config')->profil->path->shared.'/log/altisys.log'; $user = new Scores_Utilisateur(); $login = $user->getLogin(); @@ -97,7 +97,7 @@ class IndexController extends Zend_Controller_Action $ws = new WsScores(); $reponse = $ws->getPortefeuilleCsv($login, $idClient); - $log = Zend_Registry::get('config')->profil->path->data.'/log/altisys.log'; + $log = Zend_Registry::get('config')->profil->path->shared.'/log/altisys.log'; if ($reponse === false){ file_put_contents($log, date('Y-m-d H:i:s')." - URL = ERREUR\n", FILE_APPEND);