X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fplugins-dist%2Ffiltres_images%2Ffavicon.ico.html;h=5ad6deeb6791a6569f5d0f61c65ab298e7adca26;hp=a67067975d365aa295d3fa373ee92a37ab0da59c;hb=122c920eb07e3f665789f8734965b576e6c25515;hpb=226942065cd4f604eb464addf45a065c9e5bc916 diff --git a/www/plugins-dist/filtres_images/favicon.ico.html b/www/plugins-dist/filtres_images/favicon.ico.html index a6706797..5ad6deeb 100644 --- a/www/plugins-dist/filtres_images/favicon.ico.html +++ b/www/plugins-dist/filtres_images/favicon.ico.html @@ -6,7 +6,7 @@ $file="[(#CHEMIN{favicon.ico}|sinon{[(#LOGO_SITE_SPIP |image_recadre{32,32,center} |image_format{ico}|extraire_attribut{src} )]}|sinon{#CHEMIN{spip.ico}})]"; -if ($cl = filesize($file)) +if ($cl = filesize($file=preg_replace(',[?].*$,','',$file))) header("Content-Length: ". $cl); readfile($file);