- update realpath handling

This commit is contained in:
Uwe Tews
2015-06-21 13:53:52 +02:00
parent 666f7264f4
commit b64d5d26c9
5 changed files with 6 additions and 5 deletions
@@ -44,7 +44,7 @@ class Smarty_Internal_Resource_Extends extends Smarty_Resource
throw new SmartyException("Resource type {$s->type} cannot be used with the extends resource type");
}
$sources[$s->uid] = $s;
$uid .= realpath($s->filepath);
$uid .= $source->smarty->_realpath($s->filepath);
if ($_template && $_template->smarty->compile_check) {
$exists = $exists && $s->exists;
}