mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-24 04:34:56 +02:00
docs(nginx, phpfpm): improve install and config instructions (#3866)
This commit is contained in:
parent
2032ed18c4
commit
7dbe106582
3 changed files with 152 additions and 38 deletions
|
@ -54,6 +54,7 @@ class FileCache implements CacheInterface
|
|||
];
|
||||
$cacheFile = $this->createCacheFile($key);
|
||||
$bytes = file_put_contents($cacheFile, serialize($item), LOCK_EX);
|
||||
// todo: Consider tightening the permissions of the created file. It usually allow others to read, depending on umask
|
||||
if ($bytes === false) {
|
||||
// Consider just logging the error here
|
||||
throw new \Exception(sprintf('Failed to write to: %s', $cacheFile));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue