summaryrefslogtreecommitdiff
path: root/image.php
diff options
context:
space:
mode:
authorjustauser <[email protected]>2013-06-29 05:54:45 -0400
committerjustauser <[email protected]>2013-06-29 05:54:45 -0400
commitef3a8db1cc83e02a9f8933869d19f299f2abe72a (patch)
tree9b2e365262350c3a6fd9d1d2089a505df26be2bf /image.php
parent575a52874c8ebb0bcd5741009cc143389ea2279e (diff)
parent776b19536df2e01d8d5363c3a8647f3a24417b6b (diff)
Merge remote-tracking branch 'origin' into hookhead
update to latest
Diffstat (limited to 'image.php')
-rw-r--r--image.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/image.php b/image.php
index dcc7d806d..a134e658e 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 {