mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 23:35:40 +08:00
refactor download
This commit is contained in:
@@ -125,4 +125,12 @@ class Config
|
||||
}
|
||||
return self::$ext;
|
||||
}
|
||||
|
||||
public static function getSources(): array
|
||||
{
|
||||
if (self::$source === null) {
|
||||
self::$source = FileSystem::loadConfigArray('source');
|
||||
}
|
||||
return self::$source;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user