From 1f333fb935757114d66fa99c31200c36e1273665 Mon Sep 17 00:00:00 2001 From: gitea-admin Date: Thu, 8 Jan 2026 22:53:17 +0000 Subject: [PATCH] Update upload.php --- upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload.php b/upload.php index 7cb891f..760a910 100644 --- a/upload.php +++ b/upload.php @@ -15,7 +15,7 @@ if ($last && strtotime($last['created_at']) > time() - 60) { $imageName = null; -/* if (!empty($_FILES['image']['name'])) { */ +if (!empty($_FILES['image']['name'])) { /* #if ($_FILES['image']['error'] !== UPLOAD_ERR_OK) {*/ /* # die("Error de sauvegarde d'image");*/