mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 11:54:26 +02:00
- merge only compiled subtemplates into the compiled code of the main template
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
10/26/2009
|
||||||
|
- merge only compiled subtemplates into the compiled code of the main template
|
||||||
|
|
||||||
10/24/2009
|
10/24/2009
|
||||||
- fixed nocache vars at internal block tags
|
- fixed nocache vars at internal block tags
|
||||||
- fixed merging of recursive includes
|
- fixed merging of recursive includes
|
||||||
|
@@ -36,7 +36,7 @@ class Smarty_Internal_Compile_Include extends Smarty_Internal_CompileBase {
|
|||||||
eval("\$tmp = $include_file;");
|
eval("\$tmp = $include_file;");
|
||||||
if ($this->compiler->template->template_resource != $tmp) {
|
if ($this->compiler->template->template_resource != $tmp) {
|
||||||
$tpl = $compiler->smarty->createTemplate ($tmp, $compiler->template->cache_id, $compiler->template->compile_id, $compiler->template);
|
$tpl = $compiler->smarty->createTemplate ($tmp, $compiler->template->cache_id, $compiler->template->compile_id, $compiler->template);
|
||||||
if ($tpl->isExisting()) {
|
if ($tpl->usesCompiler() && $tpl->isExisting()) {
|
||||||
do {
|
do {
|
||||||
$must_compile = false;
|
$must_compile = false;
|
||||||
$prop = array();
|
$prop = array();
|
||||||
|
Reference in New Issue
Block a user