add DiskCache.send; switch af_zz_imgproxy to use DiskCache

This commit is contained in:
Andrew Dolgov
2019-08-13 12:20:53 +03:00
parent 82694bd6ce
commit 7602819b98
2 changed files with 14 additions and 10 deletions

View File

@@ -52,4 +52,8 @@ class DiskCache {
else
return null;
}
public function send($filename) {
return send_local_file($this->getFullPath($filename));
}
}