change the path util things.

This commit is contained in:
zicla
2019-04-01 02:29:46 +08:00
parent 431ef6accc
commit 4df637172b
3 changed files with 27 additions and 2 deletions

View File

@ -102,7 +102,7 @@ func (this *InstallController) openDbConnection(writer http.ResponseWriter, requ
db, err := gorm.Open("mysql", mysqlUrl)
this.PanicError(err)
db.LogMode(true)
db.LogMode(false)
return db