diff --git a/core/manifest/ClassManifest.php b/core/manifest/ClassManifest.php index 5bbe0c3bb..ddc99c703 100644 --- a/core/manifest/ClassManifest.php +++ b/core/manifest/ClassManifest.php @@ -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')