Skip to content

Commit

Permalink
Merge pull request devfeel#124 from devfeel/develop
Browse files Browse the repository at this point in the history
Version 1.4.9.7
  • Loading branch information
devfeel authored Jun 4, 2018
2 parents 6c72b89 + 3627af5 commit d9f8074
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
10 changes: 5 additions & 5 deletions context.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ import (
"errors"
"net/http"
"net/url"

"context"
"fmt"
"github.com/devfeel/dotweb/cache"
"github.com/devfeel/dotweb/core"
"github.com/devfeel/dotweb/session"
"os"
"path/filepath"
"strconv"
"time"

"github.com/devfeel/dotweb/cache"
"github.com/devfeel/dotweb/core"
"github.com/devfeel/dotweb/session"
)

const (
Expand Down Expand Up @@ -230,7 +230,7 @@ func (ctx *HttpContext) Features() *xFeatureTools {
// AppContext get application's global appcontext
// issue #3
func (ctx *HttpContext) AppItems() core.ConcurrenceMap {
if ctx.HttpServer != nil {
if ctx.httpServer != nil {
return ctx.httpServer.DotApp.Items
} else {
return core.NewConcurrenceMap()
Expand Down
5 changes: 5 additions & 0 deletions version.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## dotweb版本记录:


#### Version 1.4.9.7
* fixed bug for #114 dotweb: fix error found by vet
* 2018-06-04 09:00

#### Version 1.4.9.6
* 调整DevelopmentMode设置:默认开启Log,默认启用RequestLogMiddleware,默认Console Print日志内容
* fixed for #122 - dotweb没有打出 access log
Expand Down

0 comments on commit d9f8074

Please sign in to comment.