mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-02 21:31:48 +01:00
- 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:
@@ -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], "\"'}");
|
||||
|
||||
Reference in New Issue
Block a user