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); - } } /**