forked from forgejo/forgejo
Add build tag enable prompt
This commit is contained in:
parent
0e41726ece
commit
8bed017557
5 changed files with 13 additions and 3 deletions
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue