mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-05 20:24:18 +02:00
- using multiple cwd with relative template dirs could result in identical compiled file names. (issue 194 and topic 25099)
This commit is contained in:
@@ -50,7 +50,7 @@ class Smarty_Internal_Resource_Extends extends Smarty_Resource
|
||||
}
|
||||
$source->components = $sources;
|
||||
$source->filepath = $s->filepath;
|
||||
$source->uid = sha1($uid);
|
||||
$source->uid = sha1(realpath($uid));
|
||||
if ($_template && $_template->smarty->compile_check) {
|
||||
$source->timestamp = $s->timestamp;
|
||||
$source->exists = $exists;
|
||||
|
||||
Reference in New Issue
Block a user