Skip to content

Commit d9f8074

Browse files
authored
Merge pull request #124 from devfeel/develop
Version 1.4.9.7
2 parents 6c72b89 + 3627af5 commit d9f8074

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

context.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

2020
const (
@@ -230,7 +230,7 @@ func (ctx *HttpContext) Features() *xFeatureTools {
230230
// AppContext get application's global appcontext
231231
// issue #3
232232
func (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()

version.MD

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
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

0 commit comments

Comments
 (0)