1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-26 05:11:31 +00:00
This commit is contained in:
astaxie 2013-09-19 23:40:55 +08:00
parent 95307a3d78
commit 3c1d23bc62

View File

@ -71,12 +71,10 @@ func Run() {
go GlobalSessions.GC() go GlobalSessions.GC()
} }
if AutoRender { err := BuildTemplate(ViewsPath)
err := BuildTemplate(ViewsPath) if err != nil {
if err != nil { if RunMode == "dev" {
if RunMode == "dev" { Warn(err)
Warn(err)
}
} }
} }