update of cache resources for template function calls in nocache mode

This commit is contained in:
Uwe Tews
2014-11-09 10:20:06 +01:00
parent 223cdc0787
commit adc6091c4d
4 changed files with 81 additions and 0 deletions
+15
View File
@@ -449,4 +449,19 @@ class Smarty_Template_Cached
return false;
}
/**
* Read cache content from handler
*
* @param Smarty_Internal_Template $_template template object
*
* @return string content
*/
public function read(Smarty_Internal_Template $_template)
{
if (!$_template->source->recompiled) {
return $this->handler->readCachedContent($_template);
}
return false;
}
}