mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
- bugfix Smart_Resource_Custom should not lowercase the resource name (Issue 183)
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
@@ -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);
|
||||||
|
Reference in New Issue
Block a user