Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.

Commit 4ac575c

Browse files
committed
3.1.19
1 parent c80fdd8 commit 4ac575c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PHPUnit_Smarty.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,9 @@ public function buildUid($tpl, $value = null, $name = null, $type = null)
349349
switch ($type) {
350350
case 'file':
351351
if ($tpl instanceof Smarty) {
352-
return sha1($this->normalizePath($this->smarty->getTemplateDir(0) . $name, true));
352+
return sha1(realpath($this->normalizePath($this->smarty->getTemplateDir(0) . $name)));
353353
}
354-
return sha1($tpl->source->filepath);
354+
return sha1(realpath($tpl->source->filepath));
355355
case 'php':
356356
return sha1($tpl->source->filepath);
357357
case 'mysqltest':

0 commit comments

Comments
 (0)