[ecrire ↪ 4.4] fix : simplification dans http_img_pack évitant un (…)

spip/ecrire

Par Cerdic, le 22 août 2025 à 13h05min :

fix: simplification dans http_img_pack évitant un file_exists

Pas besoin de file_exists ici X $img_file peut etre un nom de fichier avec un ?.
On peut appeler directement timestamp() qui gèrera bien

Refs: #88

(cherry picked from commit ac580a02aab5346f2edd79846aecc4887a79b22f)

Modifié
inc/filtres.php

Détails : fix: simplification dans http_img_pack évitant un `file_exists` (de0d0a5d) · Validations · spip / ecrire · GitLab