- fixed file dependency for {incude} inside {block} tag

- fixed not compiling on non existing compiled templates when compile_check = false
This commit is contained in:
Uwe.Tews
2009-11-03 18:02:13 +00:00
parent 4babb2e550
commit 05c64b7748
5 changed files with 18 additions and 8 deletions

View File

@@ -111,7 +111,7 @@ class Smarty_Internal_Resource_Extend {
// compile block content
$_tpl = $this->smarty->createTemplate('string:' . $block_content);
$_tpl->template_filepath = $this->template->getTemplateFilepath();
$_tpl->suppressFileDependency = true;
// $_tpl->suppressFileDependency = true;
$_compiled_content = $_tpl->getCompiledTemplate();
unset($_tpl);
$_name = trim($_match[3], "\"'}");