mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 21:32:51 +09:00
Add comments to cache files
This commit is contained in:
parent
273671cf4e
commit
568151b5ee
3 changed files with 13 additions and 9 deletions
2
common/framework/drivers/cache/file.php
vendored
2
common/framework/drivers/cache/file.php
vendored
|
|
@ -95,7 +95,7 @@ class File implements \Rhymix\Framework\Drivers\CacheInterface
|
|||
*/
|
||||
public function set($key, $value, $ttl)
|
||||
{
|
||||
return Storage::writePHPData($this->_getFilename($key), array($ttl ? (time() + $ttl) : 0, $value));
|
||||
return Storage::writePHPData($this->_getFilename($key), array($ttl ? (time() + $ttl) : 0, $value), $key);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue