1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 15:30:50 +00:00
This commit is contained in:
astaxie 2013-10-29 23:11:23 +08:00
parent 5f4fe6d868
commit 4bcbc588fc

View File

@ -162,7 +162,7 @@ func getTplDeep(root, file string, t *template.Template) (*template.Template, []
} else {
relativefile := filepath.Join(filepath.Dir(file), m[1])
if e, _ := FileExists(relativefile); e {
t, _, err = getTplDeep(root, m[1], t)
t, _, err = getTplDeep(root, relativefile, t)
if err != nil {
return nil, [][]string{}, err
}