From 7085a0c2f7104a56a7e946c43ba0b5736be5f4e7 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 27 Dec 2016 14:47:01 +0100 Subject: * smarty bundled --- .../sysplugins/smarty_resource_uncompiled.php | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 lib/smarty3/sysplugins/smarty_resource_uncompiled.php (limited to 'lib/smarty3/sysplugins/smarty_resource_uncompiled.php') diff --git a/lib/smarty3/sysplugins/smarty_resource_uncompiled.php b/lib/smarty3/sysplugins/smarty_resource_uncompiled.php new file mode 100644 index 0000000..554f3ae --- /dev/null +++ b/lib/smarty3/sysplugins/smarty_resource_uncompiled.php @@ -0,0 +1,49 @@ +filepath = $_template->source->filepath; + $compiled->timestamp = $_template->source->timestamp; + $compiled->exists = $_template->source->exists; + if ($_template->smarty->merge_compiled_includes || $_template->source->handler->checkTimestamps()) { + $compiled->file_dependency[ $_template->source->uid ] = + array($compiled->filepath, $compiled->timestamp, $_template->source->type,); + } + } +} -- cgit v1.2.3