create raw compiled object to avoid checking for compiled file

This commit is contained in:
uwetews
2015-08-10 22:45:56 +02:00
parent e63926088c
commit af6f77a9e6

View File

@@ -164,6 +164,7 @@ class Smarty_Internal_Compile_Block extends Smarty_Internal_CompileBase
} }
$_tpl->tpl_vars = $compiler->template->tpl_vars; $_tpl->tpl_vars = $compiler->template->tpl_vars;
$_tpl->variable_filters = $compiler->template->variable_filters; $_tpl->variable_filters = $compiler->template->variable_filters;
$_tpl->compiled = new Smarty_Template_Compiled();
$_tpl->compiled->nocache_hash = $compiler->template->compiled->nocache_hash; $_tpl->compiled->nocache_hash = $compiler->template->compiled->nocache_hash;
$_tpl->allow_relative_path = true; $_tpl->allow_relative_path = true;
$_tpl->loadCompiler(); $_tpl->loadCompiler();