mirror of
https://github.com/astaxie/beego.git
synced 2024-11-23 00:11:00 +00:00
This commit is contained in:
parent
95307a3d78
commit
3c1d23bc62
2
beego.go
2
beego.go
@ -71,14 +71,12 @@ 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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
middleware.VERSION = VERSION
|
middleware.VERSION = VERSION
|
||||||
middleware.AppName = AppName
|
middleware.AppName = AppName
|
||||||
|
Loading…
Reference in New Issue
Block a user