mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Included sapphire/pear in the directories to exclude from manifest builder
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41272 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
8d2bfe1282
commit
2cafe279a9
@ -152,7 +152,7 @@ class ManifestBuilder {
|
||||
$itemCode = substr($item,0,-4);
|
||||
if($classMap && array_key_exists($itemCode, $classMap)) user_error("Warning: there are two '$itemCode' files: '$folder/$item' and '{$classMap[$itemCode]}'. This might mean that the wrong code is being used.", E_USER_WARNING);
|
||||
$classMap[$itemCode] = "$folder/$item";
|
||||
} else if(is_dir("$folder/$item") && !in_array($item, array('mysql', 'assets', 'shortstat'))) ManifestBuilder::getClassManifest("$folder/$item", $classMap);
|
||||
} else if(is_dir("$folder/$item") && !in_array($item, array('mysql', 'assets', 'shortstat', 'pear'))) ManifestBuilder::getClassManifest("$folder/$item", $classMap);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user