Skip to content

Commit

Permalink
Remove forced permissions change
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Hall committed Jan 23, 2018
1 parent bf0f73a commit 4a1d5aa
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/RWFileCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,6 @@ protected function getFilePathFromKey($key)
}
}

if (!is_readable($directoryToCreate) || !is_writable($directoryToCreate)) {
chmod($directoryToCreate, 0777);
}

$filePath = $this->config['cacheDirectory'].$key.'.'.$this->config['fileExtension'];

return $filePath;
Expand Down

0 comments on commit 4a1d5aa

Please sign in to comment.