1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/spip_ynh.git synced 2024-09-03 20:25:59 +02:00
spip_ynh/sources/plugins-dist/filtres_images/favicon.ico.html
2015-04-28 17:10:23 +02:00

13 lines
No EOL
402 B
HTML

#HTTP_HEADER{Content-Type: image/x-icon}
#HTTP_HEADER{Content-Transfer-Encoding: binary}
<?php
$file="[(#CHEMIN{favicon.ico}|sinon{[(#LOGO_SITE_SPIP
|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);
?>