mirror of
https://github.com/astaxie/beego.git
synced 2024-11-24 19:50:55 +00:00
modify the template file
This commit is contained in:
parent
c7437d7590
commit
2f4acf46c6
@ -151,7 +151,7 @@ func getTplDeep(root, file, parent string, t *template.Template) (*template.Temp
|
|||||||
fileabspath = filepath.Join(root, file)
|
fileabspath = filepath.Join(root, file)
|
||||||
}
|
}
|
||||||
if e := utils.FileExists(fileabspath); !e {
|
if e := utils.FileExists(fileabspath); !e {
|
||||||
panic("can't find template file" + file)
|
panic("can't find template file:" + file)
|
||||||
}
|
}
|
||||||
data, err := ioutil.ReadFile(fileabspath)
|
data, err := ioutil.ReadFile(fileabspath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user