mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 11:54:26 +02:00
This commit is contained in:
@@ -64,8 +64,11 @@ class Smarty_Internal_Compile_Include extends Smarty_Internal_CompileBase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} while ($must_compile);
|
} while ($must_compile);
|
||||||
if (isset($prop)) {
|
if (isset($prop['file_dependency'])) {
|
||||||
$compiler->template->properties = array_merge($compiler->template->properties, $prop);
|
$compiler->template->properties['file_dependency'] = array_merge($compiler->template->properties['file_dependency'], $prop['file_dependency']);
|
||||||
|
}
|
||||||
|
if (isset($prop['function'])) {
|
||||||
|
$compiler->template->properties['function'] = array_merge($compiler->template->properties['function'], $prop['function']);
|
||||||
}
|
}
|
||||||
$has_compiled_template = true;
|
$has_compiled_template = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user