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

View File

@ -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();
}
}