bee:change the Separator

pull/22/head
astaxie 8 years ago
parent 5e8ddf066f
commit 7140e9be38
  1. 2
      apiapp.go
  2. 2
      new.go

@ -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)
}

@ -186,7 +186,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…
Cancel
Save