Browse Source

fs cache backend: silence the error

pull/40/head
czaks 9 years ago
parent
commit
11dfc8bbdc
  1. 2
      inc/cache.php

2
inc/cache.php

@ -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…
Cancel
Save