baz_april/squelettes/favicon.ico.html

13 lines
407 B
HTML
Raw Normal View History

#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);
?>