Delete config key, n'existe pas !

This commit is contained in:
Michael RICOIS 2017-03-07 14:55:17 +01:00
parent f74eef8399
commit 693675583e

View File

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