From 5d47b22c4441ad83d239ae4f5b72a13afe07423f Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Mon, 8 Mar 2010 04:36:59 +0000 Subject: [PATCH] BUGFIX Fixed filemtime() check in Requirements_Backend::process_combined_files() not getting the right path git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@100616 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 44379badd..35383696f 100644 --- a/core/Requirements.php +++ b/core/Requirements.php @@ -921,7 +921,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;