summaryrefslogtreecommitdiffstats
path: root/routers/install.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-17 01:54:12 -0400
committerUnknwon <u@gogs.io>2015-09-17 01:54:12 -0400
commit373731f5e85566eb385e92f604e81232e3d6ba1a (patch)
tree83311e464adf24f3006030e27473086e43a11240 /routers/install.go
parente75fd2f783a413ae612e3e6110c912b3ecf9555d (diff)
downloadgitea-373731f5e85566eb385e92f604e81232e3d6ba1a.tar.gz
gitea-373731f5e85566eb385e92f604e81232e3d6ba1a.zip
user gomail and new activate account email tpl
- #1496: fallback plain text - #1002: add date header - #913: fix encoding of header
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/install.go b/routers/install.go
index f4df031186..c5d7972153 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -45,6 +45,7 @@ func checkRunMode() {
func NewServices() {
setting.NewServices()
+ mailer.NewContext()
social.NewOauthService()
}
@@ -53,7 +54,6 @@ func GlobalInit() {
setting.NewContext()
log.Trace("Custom path: %s", setting.CustomPath)
log.Trace("Log path: %s", setting.LogRootPath)
- mailer.NewContext()
models.LoadConfigs()
NewServices()