|
|
@ -595,6 +595,8 @@ func NewContext() { |
|
|
|
|
|
|
|
|
|
|
|
if len(CustomConf) == 0 { |
|
|
|
if len(CustomConf) == 0 { |
|
|
|
CustomConf = CustomPath + "/conf/app.ini" |
|
|
|
CustomConf = CustomPath + "/conf/app.ini" |
|
|
|
|
|
|
|
} else if !filepath.IsAbs(CustomConf) { |
|
|
|
|
|
|
|
CustomConf = filepath.Join(workDir, CustomConf) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if com.IsFile(CustomConf) { |
|
|
|
if com.IsFile(CustomConf) { |
|
|
|