diff --git a/core/ManifestBuilder.php b/core/ManifestBuilder.php index b0f3cc057..cbae853a4 100644 --- a/core/ManifestBuilder.php +++ b/core/ManifestBuilder.php @@ -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)) {