From a2a7942cea1133aa275838ac4934fda6105f554a Mon Sep 17 00:00:00 2001 From: "Uwe.Tews" Date: Thu, 4 Mar 2010 15:49:48 +0000 Subject: [PATCH] - bugfix allow uppercase chars in registered resource names --- change_log.txt | 3 +++ libs/sysplugins/smarty_internal_template.php | 9 +-------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/change_log.txt b/change_log.txt index 103c4cff..02088246 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,3 +1,6 @@ +04/03/2010 +- bugfix allow uppercase chars in registered resource names + 01/03/2010 - bugfix on nocache code in {block} tags if child template was included by {include} diff --git a/libs/sysplugins/smarty_internal_template.php b/libs/sysplugins/smarty_internal_template.php index d09e6f3c..60bb8a98 100644 --- a/libs/sysplugins/smarty_internal_template.php +++ b/libs/sysplugins/smarty_internal_template.php @@ -665,7 +665,7 @@ class Smarty_Internal_Template extends Smarty_Internal_Data { $resource_type = 'file'; $resource_name = $template_resource; } else { - $resource_type = strtolower($resource_type); + $resource_type = $resource_type; } } } @@ -802,13 +802,6 @@ class Smarty_Internal_Template extends Smarty_Internal_Data { { return $this->smarty->fetch($this); } - /** - * wrapper for is_cached - */ - public function is_cached () - { - return $this->iscached($this); - } } /**