Browse Source

Added check to see if template bundle file exists

Wirecog 7 years ago
parent
commit
c5e8dd587c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      uxcog.go

+ 1
- 1
uxcog.go View File

@@ -73,7 +73,7 @@ func (u *UXCog) CogInit(ts *isokit.TemplateSet) {
73 73
 
74 74
 	if isokit.OperatingEnvironment() == isokit.ServerEnvironment {
75 75
 
76
-		if isokit.UseStaticTemplateBundleFile == true {
76
+		if isokit.UseStaticTemplateBundleFile == true && isokit.StaticTemplateBundleFileExists() == true {
77 77
 			return
78 78
 		}
79 79