From 26146a67a6c55266e053d8de8b6d02ba0926f447 Mon Sep 17 00:00:00 2001 From: Uwe Tews Date: Mon, 4 May 2015 04:01:13 +0200 Subject: [PATCH] 3.1.19 --- tests/PHPUnit_Smarty.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/PHPUnit_Smarty.php b/tests/PHPUnit_Smarty.php index 01649e9c..b4941413 100644 --- a/tests/PHPUnit_Smarty.php +++ b/tests/PHPUnit_Smarty.php @@ -349,9 +349,9 @@ KEY `expire` (`expire`) switch ($type) { case 'file': 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': return sha1($tpl->source->filepath); case 'mysqltest':