Changeset 118707 in spip-zone


Ignore:
Timestamp:
Nov 19, 2019, 4:19:00 PM (3 weeks ago)
Author:
arno@…
Message:

Pas de modified-since si on est demande le nom du fichier précalculé

Location:
_plugins_/image_responsive
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/image_responsive/image_responsive_options.php

    r117663 r118707  
    259259                if ($format == "webp") $dest .= ".webp";
    260260
    261                 if (file_exists($dest)) {
     261                if ($retour == "http" && file_exists($dest)) {
    262262                        if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) &&
    263263                                strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']) >= filemtime($dest))
     
    290290                        if ($img_new != $img) unlink ($img_new);
    291291                }
    292 
    293292                if($retour == "http") {
    294293                        $extension = str_replace("jpg", "jpeg", $terminaison);
  • _plugins_/image_responsive/paquet.xml

    r118705 r118707  
    22        prefix="image_responsive"
    33        categorie="multimedia"
    4         version="7.7.11"
     4        version="7.7.12"
    55        etat="stable"
    66        logo="prive/themes/spip/images/image_responsive.png"
Note: See TracChangeset for help on using the changeset viewer.