mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
Another small fix.
Although semicolon isn't required here at all, I left one to avoid confusion. Please, correct me if I'm wrong.
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
// put this in your application
|
// put this in your application
|
||||||
function add_header_comment($tpl_source, &$smarty)
|
function add_header_comment($tpl_source, &$smarty)
|
||||||
{
|
{
|
||||||
return "<?php echo \"<!-- Created by Smarty! -->;\n\" ?>;\n".$tpl_source;
|
return "<?php echo \"<!-- Created by Smarty! -->\n\"; ?>\n".$tpl_source;
|
||||||
}
|
}
|
||||||
|
|
||||||
// register the postfilter
|
// register the postfilter
|
||||||
|
Reference in New Issue
Block a user