mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	@@ -177,7 +177,7 @@ func InstallPost(ctx *context.Context, form auth.InstallForm) {
 | 
			
		||||
	if err = models.NewTestEngine(x); err != nil {
 | 
			
		||||
		if strings.Contains(err.Error(), `Unknown database type: sqlite3`) {
 | 
			
		||||
			ctx.Data["Err_DbType"] = true
 | 
			
		||||
			ctx.RenderWithErr(ctx.Tr("install.sqlite3_not_available", "https://docs.gitea.io/installation/install_from_binary.html"), tplInstall, &form)
 | 
			
		||||
			ctx.RenderWithErr(ctx.Tr("install.sqlite3_not_available", "https://docs.gitea.io/en-us/install-from-binary/"), tplInstall, &form)
 | 
			
		||||
		} else {
 | 
			
		||||
			ctx.Data["Err_DbSetting"] = true
 | 
			
		||||
			ctx.RenderWithErr(ctx.Tr("install.invalid_db_setting", err), tplInstall, &form)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user