Przeglądaj źródła

tune sqlite3 message (#17601)

tags/v1.16.0-rc1
wxiaoguang 2 lat temu
rodzic
commit
b6b1e71665
No account linked to committer's email address
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      routers/init.go

+ 2
- 2
routers/init.go Wyświetl plik

@@ -128,9 +128,9 @@ func GlobalInit(ctx context.Context) {
markup.Init()

if setting.EnableSQLite3 {
log.Info("SQLite3 Supported")
log.Info("SQLite3 support is enabled")
} else if setting.Database.UseSQLite3 {
log.Fatal("SQLite3 is set in settings but NOT Supported")
log.Fatal("SQLite3 support is disabled, but it is used for database setting. Please get or build a Gitea release with SQLite3 support.")
}

mustInitCtx(ctx, common.InitDBEngine)

Ładowanie…
Anuluj
Zapisz