mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-06 12:38:40 +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) {
|
if ($expire >= 0) {
|
||||||
$created = Directory::created($name)->getTimestamp();
|
$created = Directory::created(File::sanitize($key, self::SANITIZE))->getTimestamp();
|
||||||
$now = time();
|
$now = time();
|
||||||
$raw = file_get_contents($path);
|
$raw = file_get_contents($path);
|
||||||
$expireStart = strpos($raw, self::DELIM);
|
$expireStart = strpos($raw, self::DELIM);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user