1
0
mirror of synced 2024-12-13 14:56:01 +03:00
This commit is contained in:
zYne 2007-06-19 22:55:34 +00:00
parent 5a15afc6cb
commit 7eba036cdc

View File

@ -49,11 +49,11 @@ 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();
}
}
$classes = array_merge(get_declared_classes(), get_declared_interfaces());
$ret = array();