mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 23:57:29 +02:00
fix(arstechnica): plus a few unrelated tweaks (#3829)
This commit is contained in:
@@ -49,8 +49,8 @@ class FileCache implements CacheInterface
|
||||
{
|
||||
$item = [
|
||||
'key' => $key,
|
||||
'value' => $value,
|
||||
'expiration' => $ttl === null ? 0 : time() + $ttl,
|
||||
'value' => $value,
|
||||
];
|
||||
$cacheFile = $this->createCacheFile($key);
|
||||
$bytes = file_put_contents($cacheFile, serialize($item), LOCK_EX);
|
||||
|
Reference in New Issue
Block a user