mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-03 23:05:41 +08:00
Fix windows extracting with curl typo, ignore traits in package
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user