1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-01 01:00:54 +00:00

Merge remote-tracking branch 'astaxie/master'

This commit is contained in:
傅小黑 2013-12-24 21:59:37 +08:00
commit 6f3803ce8c
2 changed files with 4 additions and 1 deletions

View File

@ -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.

View File

@ -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
}