X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=image.php;h=a134e658e88c4a6b28e1c4b5f05d39e55c899f13;hb=06c4c9ebaec3187d5e74693d932814e8d991daba;hp=dcc7d806d406ec3f3c2beb07839c65e39b88ca2c;hpb=2d0838e6d3e8f15b0f1d62111499ee551935c218;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 {