pull/1/head
vasyahacker 2023-03-16 09:40:21 +04:00
parent 8d8fd0a7c5
commit 655fa27e87
1 changed files with 2 additions and 2 deletions

View File

@ -915,8 +915,8 @@ func WebInit(www *WWW) {
tpl_path := "tpl"
if _, err := os.Stat(tpl_path); errors.Is(err, os.ErrNotExist) {
fmt.Println("./tpl not found, trying /usr/local/share/ii-go/tpl..")
tpl_path = "/usr/local/share/ii-go/tpl"
fmt.Println("./tpl not found, trying /usr/local/share/iigo/tpl..")
tpl_path = "/usr/local/share/iigo/tpl"
if _, err := os.Stat(tpl_path); errors.Is(err, os.ErrNotExist) {
fmt.Println(tpl_path, "not found")
os.Exit(1)