modify
This commit is contained in:
@@ -176,6 +176,10 @@ class Snowflake
|
|||||||
{
|
{
|
||||||
$dir = storage(null, 'worker');
|
$dir = storage(null, 'worker');
|
||||||
foreach (glob($dir . '/*') as $file) {
|
foreach (glob($dir . '/*') as $file) {
|
||||||
|
clearstatcache();
|
||||||
|
if (!file_exists($file)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
@unlink($file);
|
@unlink($file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user