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