Add phpunit test to add all additions to smarty
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user