mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 08:15:39 +08:00
Add ext-shmop, fix path slashes
This commit is contained in:
@@ -23,6 +23,7 @@ class PackageConfig
|
||||
if (!is_dir($dir)) {
|
||||
throw new WrongUsageException("Directory {$dir} does not exist, cannot load pkg.json config.");
|
||||
}
|
||||
$dir = rtrim($dir, '/');
|
||||
$loaded = [];
|
||||
$files = FileSystem::scanDirFiles($dir, false);
|
||||
if (is_array($files)) {
|
||||
|
||||
Reference in New Issue
Block a user