fix
This commit is contained in:
@@ -3,6 +3,7 @@ package logic
|
||||
import (
|
||||
"bytes"
|
||||
"fusenapi/utils/check"
|
||||
"fusenapi/utils/fstpl"
|
||||
"log"
|
||||
"net/smtp"
|
||||
"sync"
|
||||
@@ -21,7 +22,7 @@ var tpls *template.Template
|
||||
func init() {
|
||||
var err error
|
||||
|
||||
tpls, err = template.ParseGlob("../../../../html_template/*.tpl")
|
||||
tpls = fstpl.AutoParseTplFiles()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user