File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,16 @@ import (
55 "errors"
66 "net/http"
77 "net/url"
8-
98 "context"
109 "fmt"
11- "github.com/devfeel/dotweb/cache"
12- "github.com/devfeel/dotweb/core"
13- "github.com/devfeel/dotweb/session"
1410 "os"
1511 "path/filepath"
1612 "strconv"
1713 "time"
14+
15+ "github.com/devfeel/dotweb/cache"
16+ "github.com/devfeel/dotweb/core"
17+ "github.com/devfeel/dotweb/session"
1818)
1919
2020const (
@@ -230,7 +230,7 @@ func (ctx *HttpContext) Features() *xFeatureTools {
230230// AppContext get application's global appcontext
231231// issue #3
232232func (ctx * HttpContext ) AppItems () core.ConcurrenceMap {
233- if ctx .HttpServer != nil {
233+ if ctx .httpServer != nil {
234234 return ctx .httpServer .DotApp .Items
235235 } else {
236236 return core .NewConcurrenceMap ()
Original file line number Diff line number Diff line change 11## dotweb版本记录:
22
3+
4+ #### Version 1.4.9.7
5+ * fixed bug for #114 dotweb: fix error found by vet
6+ * 2018-06-04 09:00
7+
38#### Version 1.4.9.6
49* 调整DevelopmentMode设置:默认开启Log,默认启用RequestLogMiddleware,默认Console Print日志内容
510* fixed for #122 - dotweb没有打出 access log
You can’t perform that action at this time.
0 commit comments