diff options
author | Andrew Dolgov <[email protected]> | 2014-08-21 13:20:23 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-08-21 13:20:23 +0400 |
commit | 849c66b783ae97871c658c9db1a62abb0372e000 (patch) | |
tree | 244634d92c59336a353779bdb52faa6f9163ca4d /plugins/cache_starred_images/init.php | |
parent | 8ef0ca2fa66ba9110d410dc85c6ed84c85d58cc9 (diff) |
remove ob_clean/flush shit as unneeded hacks from cached image output routines
Diffstat (limited to 'plugins/cache_starred_images/init.php')
-rw-r--r-- | plugins/cache_starred_images/init.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/cache_starred_images/init.php b/plugins/cache_starred_images/init.php index 6e62bde76..4e5f2d4f7 100644 --- a/plugins/cache_starred_images/init.php +++ b/plugins/cache_starred_images/init.php @@ -62,8 +62,6 @@ class Cache_Starred_Images extends Plugin { 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 { |