From c23ce16cafb826c8bb4fe7aaf2a5525b29052b23 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 6 Dec 2015 20:12:05 +0100 Subject: update smarty library - seems to bring some performance improvement --- library/Smarty/libs/sysplugins/smarty_resource_recompiled.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'library/Smarty/libs/sysplugins/smarty_resource_recompiled.php') diff --git a/library/Smarty/libs/sysplugins/smarty_resource_recompiled.php b/library/Smarty/libs/sysplugins/smarty_resource_recompiled.php index 66b36e17a..c823387ba 100644 --- a/library/Smarty/libs/sysplugins/smarty_resource_recompiled.php +++ b/library/Smarty/libs/sysplugins/smarty_resource_recompiled.php @@ -16,6 +16,13 @@ */ abstract class Smarty_Resource_Recompiled extends Smarty_Resource { + /** + * Flag that it's an recompiled resource + * + * @var bool + */ + public $recompiled = true; + /** * populate Compiled Object with compiled filepath * -- cgit v1.2.3 From 26c465ad0c1d5b6801507ed190430f44ac92c672 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 6 Dec 2015 21:09:58 +0100 Subject: update smarty to 3.1.28-dev which fixes a bug where changes in a template are only visible on the second pageload which is annoying for developing --- library/Smarty/libs/sysplugins/smarty_resource_recompiled.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'library/Smarty/libs/sysplugins/smarty_resource_recompiled.php') diff --git a/library/Smarty/libs/sysplugins/smarty_resource_recompiled.php b/library/Smarty/libs/sysplugins/smarty_resource_recompiled.php index c823387ba..cfd73401b 100644 --- a/library/Smarty/libs/sysplugins/smarty_resource_recompiled.php +++ b/library/Smarty/libs/sysplugins/smarty_resource_recompiled.php @@ -23,6 +23,13 @@ abstract class Smarty_Resource_Recompiled extends Smarty_Resource */ public $recompiled = true; + /** + * Resource does implement populateCompiledFilepath() method + * + * @var bool + */ + public $hasCompiledHandler = true; + /** * populate Compiled Object with compiled filepath * -- cgit v1.2.3