baz_april/squelettes/favicon.ico.html
2020-05-16 12:21:49 +02:00

13 lines
407 B
HTML

#HTTP_HEADER{Content-Type: image/x-icon}
#HTTP_HEADER{Content-Transfer-Encoding: binary}
<?php
$file="[(#CHEMIN{favicon.ico}|sinon{[(#CHEMIN{favicon.png}
|image_passe_partout{32,32}
|image_recadre{32,32,center}
|image_format{ico}|extraire_attribut{src}
)]}|sinon{#CHEMIN{spip.ico}})]";
if ($cl = filesize($file=preg_replace(',[?].*$,','',$file)))
header("Content-Length: ". $cl);
readfile($file);
?>