Add phpunit test to add all additions to smarty

This commit is contained in:
2024-12-27 10:30:27 +09:00
parent fd369a7115
commit 39bfcecd3f
9 changed files with 328 additions and 0 deletions

View File

@@ -129,6 +129,12 @@ foreach ($CONTENT_DATA as $key => $value) {
$smarty->assign($key, $value);
}
file_put_contents('tmp/' . $template_name . '.html', $smarty->fetch(
$template_name,
$CACHE_ID,
$COMPILE_ID
));
// write to display
$smarty->display(
$template_name,
$CACHE_ID,