Skip to content

Commit f9e336d

Browse files
committed
fix gc file recognition
1 parent 970af56 commit f9e336d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Storage/Filesystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ protected function garbageCollect()
8787
$path = $value->getRealPath();
8888
$dir = dir($path);
8989
while($f=$dir->read()){
90-
if(!in_array($f,['.','..']) && is_file($f)){
90+
if(!in_array($f,['.','..']) && is_file($path.'/'.$f)){
9191
@unlink($path.'/'.$f);
9292
}
9393
}

0 commit comments

Comments
 (0)