1
0
mirror of https://github.com/silverstripe/silverstripe-framework synced 2024-10-22 14:05:37 +02:00

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

This commit is contained in:
Dominik Beerbohm 2012-03-03 15:10:09 +01:00
parent 299bf8b9c6
commit 7927fffc0a

View File

@ -276,7 +276,7 @@ class SS_ClassManifest {
$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')