diff --git a/change_log.txt b/change_log.txt index d23a4218..b68efbf4 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,7 +1,10 @@  ===== 3.1.28-dev===== (xx.xx.2015) + 10.07.2015 + - bugfix force file: resource in demo resource.extendsall.php + 08.07.2015 - bugfix convert each word of class names to ucfirst in in compiler. (forum topic 25588) - + 07.07.2015 - improvement allow fetch() or display() called on a template object to get output from other template like $template->fetch('foo.tpl') https://github.com/smarty-php/smarty/issues/70 diff --git a/demo/plugins/resource.extendsall.php b/demo/plugins/resource.extendsall.php index 3a4bae33..f968b8dc 100644 --- a/demo/plugins/resource.extendsall.php +++ b/demo/plugins/resource.extendsall.php @@ -25,7 +25,7 @@ class Smarty_Resource_Extendsall extends Smarty_Internal_Resource_Extends $exists = true; foreach ($source->smarty->getTemplateDir() as $key => $directory) { try { - $s = Smarty_Template_Source::load(null, $source->smarty, '[' . $key . ']' . $source->name); + $s = Smarty_Template_Source::load(null, $source->smarty, 'file:[' . $key . ']' . $source->name); if (!$s->exists) { continue; }