diff options
Diffstat (limited to 'routers/install.go')
-rw-r--r-- | routers/install.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/install.go b/routers/install.go index 34dd475774..d5472c9b3e 100644 --- a/routers/install.go +++ b/routers/install.go @@ -28,6 +28,7 @@ import ( "github.com/gogits/gogs/modules/middleware" "github.com/gogits/gogs/modules/setting" "github.com/gogits/gogs/modules/ssh" + "github.com/gogits/gogs/modules/template" "github.com/gogits/gogs/modules/user" ) @@ -55,6 +56,7 @@ func NewServices() { // GlobalInit is for global configuration reload-able. func GlobalInit() { setting.NewContext() + template.NewContext() log.Trace("Custom path: %s", setting.CustomPath) log.Trace("Log path: %s", setting.LogRootPath) models.LoadConfigs() |