- bugfix plugins may not be loaded when setMergeCompiledIncludes is true https://github.com/smarty-php/smarty/issues/435

This commit is contained in:
Uwe Tews
2018-05-17 04:40:58 +02:00
parent cb59fc5537
commit 115e178884
4 changed files with 10 additions and 8 deletions
@@ -58,10 +58,6 @@ class Smarty_Internal_Runtime_CodeFrame
var_export($_template->smarty->ext->_tplFunction->getTplFunction($_template), true) . ");\n";
}
// include code for required plugins
if (!$cache && isset($compiler)) {
$output .= $compiler->compileRequiredPlugins();
}
$output .= "?>";
$output .= $content;
$output .= "<?php }\n?>";