mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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
This commit is contained in:
parent
3ac0edc117
commit
f3ce3e1e85
@ -926,7 +926,7 @@ class Requirements_Backend {
|
|||||||
foreach($fileList as $file) {
|
foreach($fileList as $file) {
|
||||||
$srcLastMod = max(filemtime($base . $file), $srcLastMod);
|
$srcLastMod = max(filemtime($base . $file), $srcLastMod);
|
||||||
}
|
}
|
||||||
$refresh = $srcLastMod > filemtime($base . $combinedFile);
|
$refresh = $srcLastMod > filemtime($combinedFilePath);
|
||||||
} else {
|
} else {
|
||||||
// file doesn't exist, or refresh was explicitly required
|
// file doesn't exist, or refresh was explicitly required
|
||||||
$refresh = true;
|
$refresh = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user