Update upload.php

This commit is contained in:
gitea-admin 2026-01-08 22:53:17 +00:00
parent d108b4263e
commit 1f333fb935
1 changed files with 1 additions and 1 deletions

View File

@ -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");*/