- bugfix on changes of 05/02/2010

This commit is contained in:
Uwe.Tews
2010-02-07 20:45:44 +00:00
parent 063cb19f18
commit d19fbb19d9
2 changed files with 2 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
07/02/2010
- bugfix on changes of 05/02/2010
- preserve line endings type form template source
- API changes (see README file)

View File

@@ -739,7 +739,7 @@ class Smarty_Internal_Template extends Smarty_Internal_Data {
$plugins_string .= "<?php echo '/*%%SmartyNocache:{$this->properties['nocache_hash']}%%*/<?php ";
foreach($this->required_plugins['nocache'] as $tmp) {
foreach($tmp as $data) {
$plugins_string .= "if (!is_callable('{$data['function']}')) include '{$data['file']}';\n";
$plugins_string .= "if (!is_callable(\'{$data['function']}\')) include \'{$data['file']}\';\n";
}
}
$plugins_string .= "?>/*/%%SmartyNocache:{$this->properties['nocache_hash']}%%*/';?>\n";