From 7602819b9825ffe2013e214b6d072ae798d5541a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 13 Aug 2019 12:20:53 +0300 Subject: add DiskCache.send; switch af_zz_imgproxy to use DiskCache --- classes/diskcache.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'classes/diskcache.php') diff --git a/classes/diskcache.php b/classes/diskcache.php index e6fc7c1b3..d21148041 100644 --- a/classes/diskcache.php +++ b/classes/diskcache.php @@ -52,4 +52,8 @@ class DiskCache { else return null; } + + public function send($filename) { + return send_local_file($this->getFullPath($filename)); + } } -- cgit v1.2.3