Git installation check, show image in single file view, show short SHA1 instead of 40-length string, complete log module
This commit is contained in:
+3
-2
@@ -54,11 +54,12 @@ func GlobalInit() {
|
||||
log.Trace("Log path: %s", setting.LogRootPath)
|
||||
mailer.NewMailerContext()
|
||||
models.LoadModelsConfig()
|
||||
models.LoadRepoConfig()
|
||||
models.NewRepoContext()
|
||||
NewServices()
|
||||
|
||||
if setting.InstallLock {
|
||||
models.LoadRepoConfig()
|
||||
models.NewRepoContext()
|
||||
|
||||
if err := models.NewEngine(); err != nil {
|
||||
log.Fatal(4, "Fail to initialize ORM engine: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user