mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-09 12:54:26 +02:00
- make output of template default handlers cachable
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
04/04/2009
|
04/04/2009
|
||||||
|
- make output of template default handlers cachable
|
||||||
- some fixes on yesterdays update
|
- some fixes on yesterdays update
|
||||||
|
|
||||||
04/03/2006
|
04/03/2006
|
||||||
|
@@ -533,9 +533,8 @@ class Smarty_Internal_Template extends Smarty_Internal_TemplateBase {
|
|||||||
throw new Exception("Default template handler not callable");
|
throw new Exception("Default template handler not callable");
|
||||||
} else {
|
} else {
|
||||||
$_return = call_user_func_array($this->smarty->default_template_handler_func,
|
$_return = call_user_func_array($this->smarty->default_template_handler_func,
|
||||||
array($this->resource_type, $this->resource_name, &$this->template_source, &$this));
|
array($this->resource_type, $this->resource_name, &$this->template_source, &$this->template_timestamp, &$this));
|
||||||
if ($_return == true) {
|
if ($_return == true) {
|
||||||
$this->isEvaluated = true;
|
|
||||||
return $_filepath;
|
return $_filepath;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user