summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorUwe Tews <uwe.tews@googlemail.com>2015-07-10 05:18:10 +0200
committerUwe Tews <uwe.tews@googlemail.com>2015-07-10 05:18:10 +0200
commitb3fd2625416bb3c6e4abb04a279627dc83eff241 (patch)
tree10b117d42bd065f55d987c702c0913f704352146 /demo
parent7a56edc180467d666f1913b84d16e4b25a7f4aa2 (diff)
downloadsmarty-b3fd2625416bb3c6e4abb04a279627dc83eff241.tar.gz
smarty-b3fd2625416bb3c6e4abb04a279627dc83eff241.tar.bz2
smarty-b3fd2625416bb3c6e4abb04a279627dc83eff241.zip
- bugfix force file: resource in demo resource.extendsall.php
Diffstat (limited to 'demo')
-rw-r--r--demo/plugins/resource.extendsall.php2
1 files changed, 1 insertions, 1 deletions
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;
}