summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-08-13 16:37:19 +0300
committerAndrew Dolgov <[email protected]>2019-08-13 16:37:19 +0300
commit7a716d40d4e2089725ac2541fbbf585f72177a10 (patch)
treef603f0d2d72dc67c052760e0f6f47defdebb05ac
parent6388dc06bb97e9442196cf02412ebcf53f493ef5 (diff)
we don't need to set content-disposition anymore
-rw-r--r--init.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/init.php b/init.php
index 7bfe966..07e9248 100644
--- a/init.php
+++ b/init.php
@@ -105,8 +105,6 @@ class Af_Zz_Api_Resize extends Plugin {
return;
}
- header("Content-Disposition: inline; filename=\"".basename($local_filename)."\"");
-
if ($this->cache->getSize($local_filename) > 0) {
if ($this->cache->getSize($resized_filename) > 0)