diff --git a/bdd.php b/bdd.php index d78c854..fb5b3eb 100644 --- a/bdd.php +++ b/bdd.php @@ -136,7 +136,7 @@ function saveFilesFromPost($postData,$id_ensemble) { if (!move_uploaded_file($file['tmp_name'], $filePath)) { - echo(json_encode(["status"=>"0","msg"=>"Error saving file '$uniqueFileName'"])); + echo(json_encode(["status"=>"0","msg"=>"Error saving file to '$filePath'"])); exit; }