mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Unlink files with full path.
This commit is contained in:
parent
b999b4d9ae
commit
b5edcba309
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ class FileEngine extends CacheEngine {
|
|||
}
|
||||
}
|
||||
if ($file->isFile()) {
|
||||
unlink($file);
|
||||
unlink($file->getRealPath());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue