Skip to content

Commit

Permalink
Unlink files with full path.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 3, 2013
1 parent b999b4d commit b5edcba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Cache/Engine/FileEngine.php
Expand Up @@ -281,7 +281,7 @@ protected function _clearDirectory($path, $now, $threshold) {
}
}
if ($file->isFile()) {
unlink($file);
unlink($file->getRealPath());
}
}
}
Expand Down

0 comments on commit b5edcba

Please sign in to comment.