mirror of
https://github.com/beego/bee.git
synced 2024-11-24 08:30:53 +00:00
bee:change the Separator
This commit is contained in:
parent
5e8ddf066f
commit
7140e9be38
@ -218,7 +218,7 @@ import (
|
||||
|
||||
func init() {
|
||||
_, file, _, _ := runtime.Caller(1)
|
||||
apppath, _ := filepath.Abs(filepath.Dir(filepath.Join(file, "../")))
|
||||
apppath, _ := filepath.Abs(filepath.Dir(filepath.Join(file, ".." + filepath.Separator)))
|
||||
beego.TestBeegoInit(apppath)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user