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

fixup! fix typo, use camel notation for all keys

This commit is contained in:
Pengfei Xue 2013-12-03 16:37:39 +08:00
parent 75d09d138a
commit 9cac7504c9

View File

@ -104,7 +104,7 @@ func ParseConfig() (err error) {
if err != nil { if err != nil {
return err return err
} else { } else {
HttpAddr = AppConfig.String("httpaddr") HttpAddr = AppConfig.String("HttpAddr")
if v, err := AppConfig.Int("HttpPort"); err == nil { if v, err := AppConfig.Int("HttpPort"); err == nil {
HttpPort = v HttpPort = v