mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Ignore HTML folder, not pear folder
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@42738 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
6e6bfee7e2
commit
827540a99e
@ -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', 'pear'))) ManifestBuilder::getClassManifest("$folder/$item", $classMap);
|
||||
} else if(is_dir("$folder/$item") && !in_array($item, array('mysql', 'assets', 'shortstat', 'HTML'))) ManifestBuilder::getClassManifest("$folder/$item", $classMap);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user