mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 19:34:27 +02:00
- bugfix on changes of 05/02/2010
This commit is contained in:
@@ -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)
|
||||
|
||||
|
@@ -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";
|
||||
|
Reference in New Issue
Block a user