diff options
author | Andrew Dolgov <[email protected]> | 2022-12-19 21:39:24 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-12-19 21:39:24 +0300 |
commit | f270e48b2f5b40045e2caeca16fd3be95728927f (patch) | |
tree | 9703af729fa38b1b084e5db946a1246faa01ad94 | |
parent | ba2ba37c2445ed60cf8ee473dd21bfdc27f44e77 (diff) |
use DiskCache::instance method
-rwxr-xr-x | init.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ class Af_Img_Phash extends Plugin { function init($host) { $this->host = $host; - $this->cache = new DiskCache("images"); + $this->cache = DiskCache::instance("images"); Config::add("IMG_HASH_SQL_FUNCTION", ""); |