- bugfix Smart_Resource_Custom should not lowercase the resource name (Issue 183)

This commit is contained in:
Uwe.Tews@googlemail.com
2014-03-26 20:33:03 +00:00
parent 474e863af1
commit 58982caf27
2 changed files with 4 additions and 1 deletions

View File

@@ -1,4 +1,7 @@
===== trunk ===== ===== trunk =====
26.03.2014
- bugfix Smart_Resource_Custom should not lowercase the resource name (Issue 183)
24.03.2014 24.03.2014
- bugfix using a {foreach} property like @iteration could fail when used in inheritance parent templates (Issue 182) - bugfix using a {foreach} property like @iteration could fail when used in inheritance parent templates (Issue 182)

View File

@@ -48,7 +48,7 @@ abstract class Smarty_Resource_Custom extends Smarty_Resource
*/ */
public function populate(Smarty_Template_Source $source, Smarty_Internal_Template $_template=null) public function populate(Smarty_Template_Source $source, Smarty_Internal_Template $_template=null)
{ {
$source->filepath = strtolower($source->type . ':' . $source->name); $source->filepath = $source->type . ':' . $source->name;
$source->uid = sha1($source->type . ':' . $source->name); $source->uid = sha1($source->type . ':' . $source->name);
$mtime = $this->fetchTimestamp($source->name); $mtime = $this->fetchTimestamp($source->name);