- bugfix force file: resource in demo resource.extendsall.php

This commit is contained in:
Uwe Tews
2015-07-10 05:18:10 +02:00
parent 7a56edc180
commit b3fd262541
2 changed files with 5 additions and 2 deletions

View File

@@ -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

View File

@@ -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;
}