mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-20 23:25:35 +08:00
refactor plugin command and add plugin:install command
This commit is contained in:
@@ -26,7 +26,7 @@ class LoadConfiguration
|
||||
|
||||
private function getConfigDir(array $config): string
|
||||
{
|
||||
$config_dir = $config['config-dir'];
|
||||
$config_dir = $config['config-dir'] ?? null;
|
||||
// 默认配置文件目录
|
||||
$find_dir = [
|
||||
WORKING_DIR . '/config',
|
||||
|
||||
Reference in New Issue
Block a user