Server : Apache System : Linux ks5.tuic.fr 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 User : pragmatice ( 1003) PHP Version : 8.2.24 Disable Function : NONE Directory : /home/pragmatice/public_html/lesite/plugins-dist/filtres_images/ |
#HTTP_HEADER{Content-Type: image/png} #HTTP_HEADER{Content-Transfer-Encoding: binary} <?php /* Dans le .htaccess : RewriteRule ^apple-touch-icon(-(\d+x\d+))?(-precomposed)?[.]png$ spip.php?page=apple-touch-icon.png&size=$2 [QSA,L] */ $file="[(#CHEMIN{apple-touch-icon[-(#ENV{size,''})].png}|sinon{[(#LOGO_SITE_SPIP|sinon{#CHEMIN{spip.png}} |image_passe_partout{[(#ENV{size,57}|intval)],[(#ENV{size,57}|intval)]} |image_recadre{[(#ENV{size,57}|intval)],[(#ENV{size,57}|intval)],center} |image_aplatir{png,#ffffff}|extraire_attribut{src})]})]"; if ($cl = filesize($file=preg_replace(',[?].*$,','',$file))) header("Content-Length: ". $cl); readfile($file); ?>