From 2cafe279a92699bfb87347144019f28c8eb34e3e Mon Sep 17 00:00:00 2001 From: Jeremy Shipman Date: Wed, 5 Sep 2007 04:14:09 +0000 Subject: [PATCH] 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 --- core/ManifestBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ManifestBuilder.php b/core/ManifestBuilder.php index f5f436823..a9817f4e9 100644 --- a/core/ManifestBuilder.php +++ b/core/ManifestBuilder.php @@ -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); } }