mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
create raw compiled object to avoid checking for compiled file
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user