aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-19 22:13:22 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-19 22:13:22 -0400
commit8bed017557c43701d92ca3e571761cd310ed8c83 (patch)
tree6ff85398dbee22d6f439f9678826601fb3a80f45 /routers
parent0e41726ece2f7e5efcadd0069190d13b3e8be07c (diff)
downloadgitea-8bed017557c43701d92ca3e571761cd310ed8c83.tar.gz
gitea-8bed017557c43701d92ca3e571761cd310ed8c83.zip
Add build tag enable prompt
Diffstat (limited to 'routers')
-rw-r--r--routers/install.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/routers/install.go b/routers/install.go
index 81b164038c..12182ad300 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -49,6 +49,7 @@ func GlobalInit() {
models.LoadModelsConfig()
models.LoadRepoConfig()
models.NewRepoContext()
+ NewServices()
if base.InstallLock {
if err := models.NewEngine(); err != nil {
@@ -56,9 +57,11 @@ func GlobalInit() {
}
models.HasEngine = true
+ if models.EnableSQLite3 {
+ log.Info("SQLite3 Enabled")
+ }
cron.NewCronContext()
}
- NewServices()
checkRunMode()
}