mirror of
https://github.com/astaxie/beego.git
synced 2024-12-25 13:20:49 +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)
|
||||
}
|
||||
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)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user