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_variable.php | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 library/Smarty/libs/sysplugins/smarty_variable.php (limited to 'library/Smarty/libs/sysplugins/smarty_variable.php') diff --git a/library/Smarty/libs/sysplugins/smarty_variable.php b/library/Smarty/libs/sysplugins/smarty_variable.php new file mode 100644 index 000000000..c1de93cb5 --- /dev/null +++ b/library/Smarty/libs/sysplugins/smarty_variable.php @@ -0,0 +1,55 @@ +value = $value; + $this->nocache = $nocache; + $this->scope = $scope; + } + + /** + * <> String conversion + * + * @return string + */ + public function __toString() + { + return (string) $this->value; + } +} + -- cgit v1.2.3