Permalink
Browse files

AP(RE)CHANGE Exclude files with the underscore prefix from manifest.

  • Loading branch information...
1 parent 299bf8b commit 7927fffc0a65962290fdb22e3c4a530e41a0a040 @beerbohmdo beerbohmdo committed Mar 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/manifest/ClassManifest.php
View
2 core/manifest/ClassManifest.php
@@ -276,7 +276,7 @@ public function regenerate($cache = true) {
$finder = new ManifestFileFinder();
$finder->setOptions(array(
- 'name_regex' => '/\.php$/',
+ 'name_regex' => '/^[^_].*\.php$/',
'ignore_files' => array('index.php', 'main.php', 'cli-script.php'),
'ignore_tests' => !$this->tests,
'file_callback' => array($this, 'handleFile')

0 comments on commit 7927fff

Please sign in to comment.