added test

This commit is contained in:
snoop 2017-05-11 20:37:39 +09:00
parent fff5b32138
commit 0eb99a5539
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ func init() {
func SettingPath() {
//test
GetInstance().ConfigMgr.GetGlobalConfig().Paths.RootFolder = "/home/cm2/"
//GetInstance().ConfigMgr.GetGlobalConfig().Paths.RootFolder = "/home/cm2/"
GetInstance().ConfigMgr.GetGlobalConfig().Paths.BinaryFolder = GetInstance().ConfigMgr.GetGlobalConfig().Paths.RootFolder + GetInstance().ConfigMgr.GetGlobalConfig().Paths.BinaryFolder
GetInstance().ConfigMgr.GetGlobalConfig().Paths.ConfigFolder = GetInstance().ConfigMgr.GetGlobalConfig().Paths.RootFolder + GetInstance().ConfigMgr.GetGlobalConfig().Paths.ConfigFolder

View File

@ -41,7 +41,7 @@ func listenConfigLoaded() {
}
observer.Notify(messages.CRM_READY, nil)
observer.Notify(messages.CRM_READY, cm)
}