diff options
author | Andrew Dolgov <[email protected]> | 2019-08-13 16:40:21 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-08-13 16:40:21 +0300 |
commit | fdb6066bf67751ebb388a3de082d80f5444e3681 (patch) | |
tree | 71eaefc6589ef3206c210205144a52a79d7c6953 /plugins/af_zz_imgproxy/init.php | |
parent | bed695b127f1bc49103d6112868296f3a9990c2b (diff) |
* HOOK_ENCLOSURE_ENTRY: pass article_id to handler
* DiskCache: multiple fixes; support isWritable() for cache entries, set content-disposition for send()
* public/cached_url: allow selecting files from sub-caches other than images
* plugins/Cache_Starred_Images: rework to use DiskCache, can be enabled per-user, properly handles article enclosures, etc
Diffstat (limited to 'plugins/af_zz_imgproxy/init.php')
-rwxr-xr-x | plugins/af_zz_imgproxy/init.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/af_zz_imgproxy/init.php b/plugins/af_zz_imgproxy/init.php index 64a040721..b1281dff0 100755 --- a/plugins/af_zz_imgproxy/init.php +++ b/plugins/af_zz_imgproxy/init.php @@ -56,8 +56,6 @@ class Af_Zz_ImgProxy extends Plugin { $local_filename = sha1($url); - header("Content-Disposition: inline; filename=\"".basename($local_filename)."\""); - if ($this->cache->exists($local_filename)) { $this->cache->send($local_filename); } else { |