Task #1420: Fonction error_log manquante

Generalisation de la fonction
This commit is contained in:
Dany De Bontridder 2017-03-24 23:53:47 +01:00
parent 9e7e7f51e9
commit 379a24e5f2
38 changed files with 71 additions and 19 deletions

View file

@ -58,7 +58,7 @@ if (isset($_POST['change_profile']))
catch (Exception $exc)
{
echo $exc->getMessage();
error_log( $exc->getTraceAsString());
record_log( $exc->getTraceAsString());
throw $exc;
}
}
@ -97,7 +97,7 @@ if (isset($_POST['change_stock']))
catch (Exception $exc)
{
echo $exc->getMessage();
error_log($exc->getTraceAsString());
record_log($exc->getTraceAsString());
throw $exc;
}
}