mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-27 17:00:52 +01:00
fs cache backend: silence the error
This commit is contained in:
parent
094f60d34d
commit
11dfc8bbdc
@ -132,7 +132,7 @@ class Cache {
|
||||
case 'fs':
|
||||
$key = str_replace('/', '::', $key);
|
||||
$key = str_replace("\0", '', $key);
|
||||
unlink('tmp/cache/'.$key);
|
||||
@unlink('tmp/cache/'.$key);
|
||||
break;
|
||||
case 'php':
|
||||
unset(self::$cache[$key]);
|
||||
|
Loading…
Reference in New Issue
Block a user