Commit 6f3803ce authored by 傅小黑's avatar 傅小黑

Merge remote-tracking branch 'astaxie/master'

parents a1f6039d d0e2c5c6
......@@ -11,7 +11,7 @@ import (
)
// beego web framework version.
const VERSION = "1.0.0"
const VERSION = "1.0.1"
// Router adds a patterned controller handler to BeeApp.
// it's an alias method of App.Router.
......
......@@ -166,6 +166,9 @@ func (c *IniConfigContainer) Set(key, value string) error {
section = DEFAULT_SECTION
k = sectionkey[0]
}
if _, ok := c.data[section]; !ok {
c.data[section] = make(map[string]string)
}
c.data[section][k] = value
return nil
}
......
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