更新 'init.go'

默认要求必须有配置文件
master
杨赟 3 years ago
parent 4a40d86c0f
commit d190fc7360

@ -17,7 +17,7 @@ func initApp() (closes []func()) {
// 初始化配置文件 // 初始化配置文件
config.InitConfig(&config.IniConfig{ config.InitConfig(&config.IniConfig{
ConfigPath: "config", ConfigPath: "config",
RunModelErrAllow: true, RunModelErrAllow: false,
}) })
// 系统分页 // 系统分页

Loading…
Cancel
Save