1 #HTTP_HEADER{Content-Type: image/png}
2 #HTTP_HEADER{Content-Transfer-Encoding: binary}
6 RewriteRule ^apple-touch-icon(-(\d+x\d+))?(-precomposed)?[.]png$ spip.php?page=apple-touch-icon.png&size=$
2 [QSA,L]
8 $
file=
"[(#CHEMIN{apple-touch-icon[-(#ENV{size,''})].png}|sinon{[(#LOGO_SITE_SPIP|sinon{#CHEMIN{spip.png}}
9 |image_passe_partout{[(#ENV{size,57}|intval)],[(#ENV{size,57}|intval)]}
10 |image_recadre{[(#ENV{size,57}|intval)],[(#ENV{size,57}|intval)],center}
11 |image_aplatir{png,#ffffff}|extraire_attribut{src})]})]";
12 if ($cl = filesize(preg_replace(',[?].*$,','',$file)))
13 header(
"Content-Length: ". $cl);