mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX Proper check for combined file path in Requirements_Backend::process_combined_files() (from r100614)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@105605 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
a65037650f
commit
86e799f008
@ -917,9 +917,10 @@ class Requirements_Backend {
|
|||||||
$base = Director::baseFolder() . '/';
|
$base = Director::baseFolder() . '/';
|
||||||
foreach(array_diff_key($combinedFiles, $this->blocked) as $combinedFile => $dummy) {
|
foreach(array_diff_key($combinedFiles, $this->blocked) as $combinedFile => $dummy) {
|
||||||
$fileList = $this->combine_files[$combinedFile];
|
$fileList = $this->combine_files[$combinedFile];
|
||||||
|
$combinedFilePath = $base . '/' . $combinedFilesFolder . '/' . $combinedFile;
|
||||||
|
|
||||||
// Determine if we need to build the combined include
|
// Determine if we need to build the combined include
|
||||||
if(file_exists($base . $combinedFile) && !isset($_GET['flush'])) {
|
if(file_exists($combinedFilePath) && !isset($_GET['flush'])) {
|
||||||
// file exists, check modification date of every contained file
|
// file exists, check modification date of every contained file
|
||||||
$srcLastMod = 0;
|
$srcLastMod = 0;
|
||||||
foreach($fileList as $file) {
|
foreach($fileList as $file) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user