diff options
Diffstat (limited to 'routers/install.go')
-rw-r--r-- | routers/install.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/routers/install.go b/routers/install.go index b6ac99cd7a..f4df031186 100644 --- a/routers/install.go +++ b/routers/install.go @@ -50,11 +50,11 @@ func NewServices() { // GlobalInit is for global configuration reload-able. func GlobalInit() { - setting.NewConfigContext() + setting.NewContext() log.Trace("Custom path: %s", setting.CustomPath) log.Trace("Log path: %s", setting.LogRootPath) - mailer.NewMailerContext() - models.LoadModelsConfig() + mailer.NewContext() + models.LoadConfigs() NewServices() if setting.InstallLock { @@ -66,7 +66,7 @@ func GlobalInit() { } models.HasEngine = true - cron.NewCronContext() + cron.NewContext() models.InitDeliverHooks() log.NewGitLogger(path.Join(setting.LogRootPath, "http.log")) } |