From 8bf398e22ca9b067dd9cf23d06105644ca4a9a09 Mon Sep 17 00:00:00 2001 From: "Uwe.Tews" Date: Wed, 26 May 2010 20:35:15 +0000 Subject: [PATCH] - bugfix removed decrepated register_resource call in smarty_internal_template.php --- change_log.txt | 3 +++ libs/sysplugins/smarty_internal_template.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/change_log.txt b/change_log.txt index e13c57d1..32101663 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,3 +1,6 @@ +26/05/2010 +- bugfix removed decrepated register_resource call in smarty_internal_template.php + 25/05/2010 - rewrite of template function handling to improve speed - bugfix on file dependency when merge_compiled_includes = true diff --git a/libs/sysplugins/smarty_internal_template.php b/libs/sysplugins/smarty_internal_template.php index e82b49a9..bb334595 100644 --- a/libs/sysplugins/smarty_internal_template.php +++ b/libs/sysplugins/smarty_internal_template.php @@ -712,7 +712,7 @@ class Smarty_Internal_Template extends Smarty_Internal_Data { if (class_exists($_resource_class, false)) { return new $_resource_class($this->smarty); } else { - $this->smarty->register_resource($resource_type, + $this->smarty->register->resource($resource_type, array("smarty_resource_{$resource_type}_source", "smarty_resource_{$resource_type}_timestamp", "smarty_resource_{$resource_type}_secure",