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:
2
beego.go
2
beego.go
@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user