This commit is contained in:
parent
5a15afc6cb
commit
7eba036cdc
@ -49,7 +49,7 @@ class Doctrine_Compiler
|
||||
$e = explode('.', $file->getFileName());
|
||||
|
||||
// we don't want to require versioning files
|
||||
if (end($e) === 'php' && count($e) === 2) {
|
||||
if (end($e) === 'php' && strpos($file->getFileName(), '.inc') === false) {
|
||||
require_once $file->getPathName();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user