From d910a251fedf3316aa3ade58433fb30c14c25a15 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sun, 28 Mar 2021 16:15:55 +0800 Subject: [PATCH] modify --- HttpServer/Shutdown.php | 2 ++ 1 file changed, 2 insertions(+) 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());