mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-23 12:15:23 +02:00
fix(arstechnica): plus a few unrelated tweaks (#3829)
This commit is contained in:
parent
0b67544f86
commit
f01729c86f
6 changed files with 18 additions and 17 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue