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:
Andrew O'Neil 2007-09-27 22:15:20 +00:00 committed by Sam Minnee
parent 6e6bfee7e2
commit 827540a99e

View File

@ -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);
}
}