mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Add build tag enable prompt
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user