1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-04 15:47:32 +02:00

docs(nginx, phpfpm): improve install and config instructions (#3866)

This commit is contained in:
Dag
2023-12-28 23:26:14 +01:00
committed by GitHub
parent 2032ed18c4
commit 7dbe106582
3 changed files with 152 additions and 38 deletions

View File

@@ -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));