From f3ce3e1e850bf4a55fe485818a36a4742db89962 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 25 May 2010 04:18:48 +0000 Subject: [PATCH] BUGFIX Fixed filemtime() check in Requirements_Backend::process_combined_files() not getting the right path (from r100616) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@105607 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/Requirements.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Requirements.php b/core/Requirements.php index 470de75bd..ab0f83ebc 100644 --- a/core/Requirements.php +++ b/core/Requirements.php @@ -926,7 +926,7 @@ class Requirements_Backend { foreach($fileList as $file) { $srcLastMod = max(filemtime($base . $file), $srcLastMod); } - $refresh = $srcLastMod > filemtime($base . $combinedFile); + $refresh = $srcLastMod > filemtime($combinedFilePath); } else { // file doesn't exist, or refresh was explicitly required $refresh = true;