summaryrefslogtreecommitdiff
path: root/image.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-08-21 13:20:23 +0400
committerAndrew Dolgov <[email protected]>2014-08-21 13:20:23 +0400
commit849c66b783ae97871c658c9db1a62abb0372e000 (patch)
tree244634d92c59336a353779bdb52faa6f9163ca4d /image.php
parent8ef0ca2fa66ba9110d410dc85c6ed84c85d58cc9 (diff)
remove ob_clean/flush shit as unneeded hacks from cached image output routines
Diffstat (limited to 'image.php')
-rw-r--r--image.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/image.php b/image.php
index a134e658e..dcc7d806d 100644
--- a/image.php
+++ b/image.php
@@ -41,8 +41,6 @@
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 {