hotfix CCache and enable use cache
This commit is contained in:
1 parent
1e7ba3faa6
commit
c8ae9af72b
2 files changed
+1
-2
No files matched your search
@@ -190,7 +190,7 @@ class CCache
|
||||
*/
|
||||
public static function ageOfCache(string $name)
|
||||
{
|
||||
return (time() - filectime(self::$cache_dir . md5($name) . '.tmp'));
|
||||
return (time() - @filectime(self::$cache_dir . md5($name) . '.tmp'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user