File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,8 @@ public function __construct(array $config)
8080
8181 public static function checkTemplate (array $ config , string $ template )
8282 {
83- if (strpos ($ template , '.vein.php ' ) === false ) {
84- $ template .= '.vein.php ' ;
83+ if (strpos ($ template , '.vein.html ' ) === false ) {
84+ $ template .= '.vein.html ' ;
8585 }
8686
8787 $ template = $ config ['templateDir ' ] . $ template ;
@@ -90,7 +90,7 @@ public static function checkTemplate(array $config, string $template)
9090 throw new \Exception ("Template file not found: {$ template }" );
9191 }
9292
93- $ parsedTemplate = $ config ['cacheDir ' ] . md5 ($ template . serialize ($ config ['checksum ' ])) . '.vein.php ' ;
93+ $ parsedTemplate = $ config ['cacheDir ' ] . md5 ($ template . serialize ($ config ['checksum ' ])) . '.vein.html ' ;
9494
9595 if (
9696 $ config ['debug ' ] ||
You can’t perform that action at this time.
0 commit comments