X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fplugins-dist%2Ffiltres_images%2Fapple-touch-icon.png.html;h=ed451418fd81c4dc985629c2f375289f37288fec;hp=3d905c048f8ca69b5c230e979e75966ed8ae87fe;hb=122c920eb07e3f665789f8734965b576e6c25515;hpb=226942065cd4f604eb464addf45a065c9e5bc916 diff --git a/www/plugins-dist/filtres_images/apple-touch-icon.png.html b/www/plugins-dist/filtres_images/apple-touch-icon.png.html index 3d905c04..ed451418 100644 --- a/www/plugins-dist/filtres_images/apple-touch-icon.png.html +++ b/www/plugins-dist/filtres_images/apple-touch-icon.png.html @@ -9,7 +9,7 @@ $file="[(#CHEMIN{apple-touch-icon[-(#ENV{size,''})].png}|sinon{[(#LOGO_SITE_SPIP |image_passe_partout{[(#ENV{size,57}|intval)],[(#ENV{size,57}|intval)]} |image_recadre{[(#ENV{size,57}|intval)],[(#ENV{size,57}|intval)],center} |image_aplatir{png,#ffffff}|extraire_attribut{src})]})]"; -if ($cl = filesize($file)) +if ($cl = filesize(preg_replace(',[?].*$,','',$file)) header("Content-Length: ". $cl); readfile($file);