mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
new _clearTemplateCache() method
This commit is contained in:
@@ -98,7 +98,7 @@ class Smarty_Internal_Method_CompileAllTemplates
|
||||
}
|
||||
// free memory
|
||||
unset($_tpl);
|
||||
$_smarty->_cache['template_objects'] = array();
|
||||
$_smarty->_clearTemplateCache();
|
||||
if ($max_errors !== null && $_error_count == $max_errors) {
|
||||
echo "\n<br><br>too many errors\n";
|
||||
exit();
|
||||
|
Reference in New Issue
Block a user