mirror of
https://github.com/astaxie/beego.git
synced 2025-06-19 17:50:39 +00:00
This commit is contained in:
10
beego.go
10
beego.go
@ -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)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user