- 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,4 +1,7 @@
 ===== 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)

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