Commit 309d9578 authored by root's avatar root

edit logs treatment

parent 5dc08a7e
......@@ -114,14 +114,14 @@ function writeInLog($intitule, $text){
$date = date("d-m-Y");
$hour = date("H:i:s");
$filePath = $workingDirectory . "logs/adhesion/" . $date . ".log";
$filePath = $workingDirectory . "logs/adhesion/logs.log";
$beforeMessage = "\n--------------\nA " . $hour . ", " . $intitule . " : \n";
$beforeMessage = "\n--------------\nLe " . $date . ", à " . $hour . ", \n" . $intitule . " : \n";
$finalMessage = $beforeMessage . $text;
$fichier = fopen($filePath, "a");
if($debug_mode_traitement){
var_dump($fichier);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment