1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-04 16:10:19 +00:00

rename AppConfigPath, AppConfigProvider to appConfigPath, appConfigProvider, make public to private

This commit is contained in:
youngsterxyf
2016-01-27 16:43:01 +08:00
parent ccce566ba7
commit 31ef4ae507
3 changed files with 18 additions and 18 deletions

View File

@ -85,7 +85,7 @@ func initBeforeHTTPRun() {
// TestBeegoInit is for test package init
func TestBeegoInit(ap string) {
os.Setenv("BEEGO_RUNMODE", "test")
AppConfigPath = filepath.Join(ap, "conf", "app.conf")
appConfigPath = filepath.Join(ap, "conf", "app.conf")
os.Chdir(ap)
initBeforeHTTPRun()
}