This commit is contained in:
Uwe Tews
2015-05-04 04:01:13 +02:00
parent 0566d8a657
commit 26146a67a6

View File

@@ -349,9 +349,9 @@ KEY `expire` (`expire`)
switch ($type) { switch ($type) {
case 'file': case 'file':
if ($tpl instanceof Smarty) { if ($tpl instanceof Smarty) {
return sha1($this->normalizePath($this->smarty->getTemplateDir(0) . $name, true)); return sha1(realpath($this->normalizePath($this->smarty->getTemplateDir(0) . $name)));
} }
return sha1($tpl->source->filepath); return sha1(realpath($tpl->source->filepath));
case 'php': case 'php':
return sha1($tpl->source->filepath); return sha1($tpl->source->filepath);
case 'mysqltest': case 'mysqltest':