summaryrefslogtreecommitdiff
path: root/plugins/af_zz_imgproxy/init.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-08-14 12:44:50 +0300
committerAndrew Dolgov <[email protected]>2019-08-14 12:44:50 +0300
commit6914ad1f741570b66580d2933e8e2118adb177b5 (patch)
treef8a2c90dbf3b9aac401b17874936339fbe1d0861 /plugins/af_zz_imgproxy/init.php
parent84974c60a7aeed1fc2f22ef170c53fec5099abd0 (diff)
retire MIN_CACHE_FILE_SIZE
Diffstat (limited to 'plugins/af_zz_imgproxy/init.php')
-rwxr-xr-xplugins/af_zz_imgproxy/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/af_zz_imgproxy/init.php b/plugins/af_zz_imgproxy/init.php
index 3c9744666..ddc30936f 100755
--- a/plugins/af_zz_imgproxy/init.php
+++ b/plugins/af_zz_imgproxy/init.php
@@ -67,7 +67,7 @@ class Af_Zz_ImgProxy extends Plugin {
$disable_cache = $this->host->get($this, "disable_cache");
- if (!$disable_cache && strlen($data) > MIN_CACHE_FILE_SIZE) {
+ if (!$disable_cache) {
if ($this->cache->put($local_filename, $data)) {
header("Location: " . $this->cache->getUrl($local_filename));
return;