mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 11:54:26 +02:00
- bugfix on changes of 05/02/2010
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
07/02/2010
|
07/02/2010
|
||||||
|
- bugfix on changes of 05/02/2010
|
||||||
- preserve line endings type form template source
|
- preserve line endings type form template source
|
||||||
- API changes (see README file)
|
- 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 ";
|
$plugins_string .= "<?php echo '/*%%SmartyNocache:{$this->properties['nocache_hash']}%%*/<?php ";
|
||||||
foreach($this->required_plugins['nocache'] as $tmp) {
|
foreach($this->required_plugins['nocache'] as $tmp) {
|
||||||
foreach($tmp as $data) {
|
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";
|
$plugins_string .= "?>/*/%%SmartyNocache:{$this->properties['nocache_hash']}%%*/';?>\n";
|
||||||
|
Reference in New Issue
Block a user