Skip to content

Commit 55b636f

Browse files
committed
feat: switch to .vein.html
1 parent f931fe7 commit 55b636f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Veins/Parser.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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'] ||

0 commit comments

Comments
 (0)