diff --git a/module/Application/src/Application/Controller/FileController.php b/module/Application/src/Application/Controller/FileController.php index 563776b..f9df10e 100644 --- a/module/Application/src/Application/Controller/FileController.php +++ b/module/Application/src/Application/Controller/FileController.php @@ -216,7 +216,7 @@ class FileController extends AbstractActionController } /** - * flux_fileout + * Marqueur de lecture du fichier */ public function readAction() { @@ -297,7 +297,7 @@ class FileController extends AbstractActionController } if ($prestation === null) { - echo date('Y-m-d H:i:s')." - Prestation not found !\n"; + $this->output("Prestation not found !"); } $fluxBasePath .= '/' . $repositoryDir; @@ -1114,7 +1114,7 @@ class FileController extends AbstractActionController protected function output($line, $verbose = true) { if ($verbose) { - $this->console->writeLine($line); + $this->console->writeLine(date('Y-m-d H:i:s') . ' - ' . $line); } } } \ No newline at end of file