From fa0c4bd5dd0738a03f50492083cc11467528a1e9 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sun, 2 May 2021 04:34:12 +0800 Subject: [PATCH] modify --- Annotation/Loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annotation/Loader.php b/Annotation/Loader.php index 4a813c4d..a8790ddf 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -235,13 +235,13 @@ class Loader extends BaseObject $path = '/' . trim($path, '/'); foreach ($this->_directory as $key => $_path) { $key = '/' . trim($key, '/'); - var_export($key); if (!str_starts_with($key, $path)) { continue; } if (in_array($key, $outPath)) { continue; } + var_export($_path); $this->execute($_path); } } catch (Throwable $exception) {