Skip to content

Commit 4a1d5aa

Browse files
author
Jordan Hall
committed
Remove forced permissions change
1 parent bf0f73a commit 4a1d5aa

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/RWFileCache.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,6 @@ protected function getFilePathFromKey($key)
319319
}
320320
}
321321

322-
if (!is_readable($directoryToCreate) || !is_writable($directoryToCreate)) {
323-
chmod($directoryToCreate, 0777);
324-
}
325-
326322
$filePath = $this->config['cacheDirectory'].$key.'.'.$this->config['fileExtension'];
327323

328324
return $filePath;

0 commit comments

Comments
 (0)