Delete config key, n'existe pas !
This commit is contained in:
parent
f74eef8399
commit
693675583e
@ -58,7 +58,7 @@ class IndexController extends Zend_Controller_Action
|
|||||||
|
|
||||||
if (intval($version) == 2) {
|
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();
|
$user = new Scores_Utilisateur();
|
||||||
$login = $user->getLogin();
|
$login = $user->getLogin();
|
||||||
@ -97,7 +97,7 @@ class IndexController extends Zend_Controller_Action
|
|||||||
$ws = new WsScores();
|
$ws = new WsScores();
|
||||||
$reponse = $ws->getPortefeuilleCsv($login, $idClient);
|
$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){
|
if ($reponse === false){
|
||||||
file_put_contents($log, date('Y-m-d H:i:s')." - URL = ERREUR\n", FILE_APPEND);
|
file_put_contents($log, date('Y-m-d H:i:s')." - URL = ERREUR\n", FILE_APPEND);
|
||||||
|
Loading…
Reference in New Issue
Block a user