X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=image.php;h=a134e658e88c4a6b28e1c4b5f05d39e55c899f13;hb=5d2e74a95e2bd159346f31c79b4afa08e6ac1d2c;hp=dcc7d806d406ec3f3c2beb07839c65e39b88ca2c;hpb=58a2577d48790c79adfd44bcfd662c980ce6cfe4;p=tt-rss.git diff --git a/image.php b/image.php index dcc7d806..a134e658 100644 --- a/image.php +++ b/image.php @@ -41,6 +41,8 @@ header("Content-type: image/png"); $stamp = gmdate("D, d M Y H:i:s", filemtime($filename)). " GMT"; header("Last-Modified: $stamp", true); + ob_clean(); // discard any data in the output buffer (if possible) + flush(); // flush headers (if possible) readfile($filename); } } else {