config file update

pull/261/head
Gordon 3 years ago
parent 526aa15ff6
commit 6734c714d7

@ -512,8 +512,7 @@ type PDefaultTips struct {
func init() {
cfgName := os.Getenv("CONFIG_NAME")
fmt.Println("GET IM CONFIG PATH :", Root, cfgName)
fmt.Println("GET IM DEFAULT CONFIG PATH :", Root, "ENV PATH:", cfgName, b, filepath.Dir(b))
if len(cfgName) != 0 {
Root = cfgName
}

Loading…
Cancel
Save