diff --git a/HttpServer/Shutdown.php b/HttpServer/Shutdown.php index d9ea16b0..dd0d1420 100644 --- a/HttpServer/Shutdown.php +++ b/HttpServer/Shutdown.php @@ -95,6 +95,8 @@ class Shutdown extends Component } foreach ($dir as $value) { /** @var \DirectoryIterator $value */ + if ($value->isDot()) continue; + if (!$value->valid()) continue; $this->close($value->getRealPath());