Refactoring cfg refs and load / save functions (#7749)

* refactoring cfg refs and load / save functions

* improve error output
Этот коммит содержится в:
Chris
2017-10-31 09:39:31 -05:00
коммит произвёл Joram Wilander
родитель b446d0aa0a
Коммит ce2b2be5de
28 изменённых файлов: 250 добавлений и 247 удалений

Просмотреть файл

@@ -43,7 +43,7 @@ func TestFileMinioTestSuite(t *testing.T) {
func (s *FileTestSuite) SetupTest() {
TranslationsPreInit()
LoadConfig("config.json")
LoadGlobalConfig("config.json")
InitTranslations(Cfg.LocalizationSettings)
// Save state to restore after the test has run.