From 394e936292b05d6052d28145a1104e4b15909d12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 2 Mar 2021 19:25:53 +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/Error/LoggerProcess.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Error/LoggerProcess.php b/System/Error/LoggerProcess.php index 2c09cf45..576f4e86 100644 --- a/System/Error/LoggerProcess.php +++ b/System/Error/LoggerProcess.php @@ -69,7 +69,7 @@ class LoggerProcess extends Process */ private function checkLogFile($dirName) { - $files = new \DirectoryIterator(storage(null, $dirName) . '/*.log'); + $files = new \DirectoryIterator(storage(null, $dirName)); if ($files->getSize() < 15) { return; }