mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
Fix uninit var
This commit is contained in:
parent
5473f38805
commit
ba90d72da0
|
|
@ -355,7 +355,7 @@ class FileCache implements CacheInterface
|
|||
}
|
||||
|
||||
if ($expire >= 0) {
|
||||
$created = Directory::created($name)->getTimestamp();
|
||||
$created = Directory::created(File::sanitize($key, self::SANITIZE))->getTimestamp();
|
||||
$now = time();
|
||||
$raw = file_get_contents($path);
|
||||
$expireStart = strpos($raw, self::DELIM);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user