Skip to content

Commit 601e2d2

Browse files
committed
Preventive hotfix for #614
1 parent e892a5c commit 601e2d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Phpfastcache/Util/Directory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ public static function rrmdir(string $source, bool $removeOnlyChildren = false):
8686
}
8787

8888
if (\is_file($source) || \is_link($source)) {
89+
\clearstatcache(true, $source);
8990
return \unlink($source);
9091
}
9192

0 commit comments

Comments
 (0)