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