From 8040a329cb271f2213334f0c3add9332deab3f8d Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Sat, 24 Dec 2022 01:42:56 +0800 Subject: [PATCH] fix getClassesPsr4 default ignore dir bug --- src/ZM/Store/FileSystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ZM/Store/FileSystem.php b/src/ZM/Store/FileSystem.php index f8edf949..685f18a3 100644 --- a/src/ZM/Store/FileSystem.php +++ b/src/ZM/Store/FileSystem.php @@ -142,7 +142,7 @@ class FileSystem /*if (substr(file_get_contents($dir . '/' . $v), 6, 6) == '#plain') { continue; }*/ - if (file_exists($dir . '/' . $pathinfo['basename'] . '.ignore')) { + if (file_exists($dir . '/' . $v . '.ignore')) { continue; } if (mb_substr($pathinfo['basename'], 0, 7) == 'global_' || mb_substr($pathinfo['basename'], 0, 7) == 'script_') {