Fix windows extracting with curl typo, ignore traits in package

This commit is contained in:
crazywhalecc
2025-12-11 13:47:32 +08:00
parent fe0b983f6c
commit 4bbe56dd9f
3 changed files with 5 additions and 2 deletions

View File

@@ -267,6 +267,9 @@ class FileSystem
if ($auto_require && !class_exists($class_name, false)) {
require_once $file_path;
}
if (class_exists($class_name, false) === false) {
continue;
}
if (is_string($return_path_value)) {
$classes[$class_name] = $return_path_value . '/' . $v;