From 9a40f0b7adbef7d4a3c49b85321e6234928af5cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 3 Sep 2020 01:32:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- system/Process/ServerInotify.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/Process/ServerInotify.php b/system/Process/ServerInotify.php index 845abd5e..0d40eff2 100644 --- a/system/Process/ServerInotify.php +++ b/system/Process/ServerInotify.php @@ -76,10 +76,11 @@ class ServerInotify extends Process { $path = rtrim($path, '/'); foreach (glob($path . '/*') as $value) { - $md5 = md5($value); if (is_dir($value)) { $this->loadByDir($value); + continue; } + $md5 = md5($value); if (!isset($this->md5Map[$md5])) { $this->debug('not hav ' . $value); return $this->reload();