diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-04-17 17:25:13 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-04-17 17:25:13 +0300 |
| commit | be82663ac9b59de8a135178a519efe9f7ebae213 (patch) | |
| tree | 848a739767f8123250539af9d1c08aebd69512a4 /plugins/cache_starred_images | |
| parent | d2ccdaf400b5031359ca6422f57a734b96eb0543 (diff) | |
cache_starred_images: disable chmod() on cache directory, it doesn't seem to be necessary anymore and breaks on S3 cache implementation
Diffstat (limited to 'plugins/cache_starred_images')
| -rwxr-xr-x | plugins/cache_starred_images/init.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/cache_starred_images/init.php b/plugins/cache_starred_images/init.php index cc1eef0dc..14a1fd7e9 100755 --- a/plugins/cache_starred_images/init.php +++ b/plugins/cache_starred_images/init.php @@ -24,12 +24,6 @@ class Cache_Starred_Images extends Plugin { $this->cache = DiskCache::instance("starred-images"); $this->cache_status = DiskCache::instance("starred-images.status-files"); - if ($this->cache->make_dir()) - chmod($this->cache->get_dir(), 0777); - - if ($this->cache_status->make_dir()) - chmod($this->cache_status->get_dir(), 0777); - if (!$this->cache->exists(".no-auto-expiry")) $this->cache->put(".no-auto-expiry", ""); |