Commit 919675e7 authored by astaxie's avatar astaxie

update the comments

parent fe9c52fb
......@@ -67,7 +67,7 @@ func initBeforeHttpRun() {
}
}
//init mime
//init hooks
AddAPPStartHook(registerMime)
AddAPPStartHook(registerDefaultErrorHandler)
AddAPPStartHook(registerSession)
......@@ -75,7 +75,6 @@ func initBeforeHttpRun() {
AddAPPStartHook(registerTemplate)
AddAPPStartHook(registerAdmin)
// do hooks function
for _, hk := range hooks {
if err := hk(); err != nil {
panic(err)
......
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