mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-18 05:04:51 +08:00
fix getClassesPsr4 default ignore dir bug
This commit is contained in:
parent
0ac2985fc1
commit
8040a329cb
@ -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_') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user