We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0615b7 commit 00102fdCopy full SHA for 00102fd
phpfastcache/3.0.0/drivers/files.php
@@ -118,7 +118,7 @@ function driver_get($keyword, $option = array()) {
118
119
function driver_delete($keyword, $option = array()) {
120
$file_path = $this->getFilePath($keyword,true);
121
- if(@unlink($file_path)) {
+ if(file_exists($file_path) && @unlink($file_path)) {
122
return true;
123
} else {
124
return false;
0 commit comments