mirror of
https://github.com/getgrav/grav.git
synced 2026-07-12 16:42:34 +02:00
Revert "Fix issue in images cache permissions"
This reverts commit 7e3058e3f0.
This commit is contained in:
@@ -80,7 +80,8 @@ class ImageFile extends Image
|
||||
|
||||
// Asking the cache for the cacheFile
|
||||
try {
|
||||
$perms = (string)self::getGrav()['config']->get('system.images.cache_perms', '0755');
|
||||
$perms = self::getGrav()['config']->get('system.images.cache_perms', '0755');
|
||||
$perms = octdec($perms);
|
||||
$file = $this->cache->setDirectoryMode($perms)->getOrCreateFile($cacheFile, $conditions, $generate, $actual);
|
||||
} catch (GenerationError $e) {
|
||||
$file = $e->getNewFile();
|
||||
|
||||
Reference in New Issue
Block a user