Compiler
| From: | Bicou | Date: | Thu, 17 May 2001 13:05:11 +0000 |
| Subject: | Compiler | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-768@lists.php.net to get a copy of this message | ||
Why not adding this line to Smarty_Compiler.class.php [151] ?
$template_compiled = preg_replace("/\?>[\n ]*<\?php/", '', $template_compiled);
To strip the :
...
?>
<?php
...
?>
<?php
...