Commit 3c1d23bc authored by astaxie's avatar astaxie

#207

parent 95307a3d
...@@ -71,14 +71,12 @@ func Run() { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment