mirror of
https://github.com/astaxie/beego.git
synced 2025-06-19 20:30:39 +00:00
This commit is contained in:
10
beego.go
10
beego.go
@ -71,12 +71,10 @@ func Run() {
|
||||
go GlobalSessions.GC()
|
||||
}
|
||||
|
||||
if AutoRender {
|
||||
err := BuildTemplate(ViewsPath)
|
||||
if err != nil {
|
||||
if RunMode == "dev" {
|
||||
Warn(err)
|
||||
}
|
||||
err := BuildTemplate(ViewsPath)
|
||||
if err != nil {
|
||||
if RunMode == "dev" {
|
||||
Warn(err)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user