1
0
mirror of https://github.com/beego/bee.git synced 2024-12-23 01:30:50 +00:00

Fix EnableAdmin error in fix rules

1. "EnableAdmin" should be replaced by "BConfig.Listen.EnableAdmin",
   instead of "BConfig.Listen.AdminEnable"
This commit is contained in:
Jacob Bin Wang 2016-05-20 09:58:12 +08:00
parent 7322451c91
commit 6b9bc5debf

2
fix.go
View File

@ -72,7 +72,7 @@ var rules = []string{
"beego.HttpsPort", "beego.BConfig.Listen.HTTPSPort",
"beego.HttpCertFile", "beego.BConfig.Listen.HTTPSCertFile",
"beego.HttpKeyFile", "beego.BConfig.Listen.HTTPSKeyFile",
"beego.EnableAdmin", "beego.BConfig.Listen.AdminEnable",
"beego.EnableAdmin", "beego.BConfig.Listen.EnableAdmin",
"beego.AdminHttpAddr", "beego.BConfig.Listen.AdminAddr",
"beego.AdminHttpPort", "beego.BConfig.Listen.AdminPort",
"beego.UseFcgi", "beego.BConfig.Listen.EnableFcgi",