MINOR Fix undefined variable error in ManifestBuilder::get_manifest_info()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63449 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2008-10-01 04:27:48 +00:00
parent ca884b809d
commit 497d760bcd

View File

@ -141,13 +141,14 @@ class ManifestBuilder {
foreach($topLevel as $file) {
if($file[0] == '.') continue
$fullPath = '';
$fullPath = $baseDir . '/' . $file;
if(@is_dir($fullPath . '/') && file_exists($fullPath . '/_exclude.php'))
if(@is_dir($fullPath . '/') && file_exists($fullPath . '/_exclude.php')) {
require_once($fullPath . '/_exclude.php');
}
}
// Class manifest
$classManifest = array();
if(is_array(self::$restrict_to_modules) && count(self::$restrict_to_modules)) {