From 1a678515a2d8035decd27c4760e0bf4494482faa Mon Sep 17 00:00:00 2001 From: cedricAbonnel <64610571+cedricAbonnel@users.noreply.github.com> Date: Sun, 24 Oct 2021 00:25:56 +0200 Subject: [PATCH] Update trierPhoto.php --- trierPhoto.php | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/trierPhoto.php b/trierPhoto.php index 9ad5ccd..37d1b80 100644 --- a/trierPhoto.php +++ b/trierPhoto.php @@ -1,4 +1,4 @@ -#!/usr/bin/php + ".$file_dest."\n"; } else { $md5_file_src = md5_file($entry); $md5_file_dst = md5_file($file_dest); if ($md5_file_src == $md5_file_dst) { - $message = " [ERREUR] ".$file_dest." existe déjà ! Destruction car même empreinte $md5_file_src / $md5_file_dst\n"; + $message .= " [ERREUR] ".$file_dest." existe déjà ! Destruction car même empreinte $md5_file_src / $md5_file_dst\n"; unlink($entry); } else { - $message = " [ERREUR] ".$file_dest." existe déjà !\n"; + $message .= " [ERREUR] ".$file_dest." existe déjà !\n"; } }