|
@@ -153,12 +153,13 @@ function loadRepoConfigs($vendorDir,$repoNames){
|
|
|
return $configs;
|
|
|
}
|
|
|
//默认配置信息
|
|
|
-function defaultConfig($cfgPath){
|
|
|
+function defaultConfig(){
|
|
|
return array(
|
|
|
'distribute-mode' => 'install',
|
|
|
'cache-dir' => 'd:/dist-cache/',
|
|
|
'tool-dir' => '',
|
|
|
'oss-host' => 'http://distribute-helper.oss-cn-hangzhou.aliyuncs.com',
|
|
|
+ 'mysql-host'=> '',
|
|
|
);
|
|
|
}
|
|
|
//解析部署配置文件
|