diff --git a/src/Symfony/Framework/DoctrineBundle/Bundle.php b/src/Symfony/Framework/DoctrineBundle/Bundle.php index 7b5baa0bee..01b7b9f845 100644 --- a/src/Symfony/Framework/DoctrineBundle/Bundle.php +++ b/src/Symfony/Framework/DoctrineBundle/Bundle.php @@ -43,11 +43,11 @@ class Bundle extends BaseBundle { if (is_dir($dir = $bundleDirs[$namespace].'/'.$class.'/Resources/config/doctrine/metadata')) { - $metadataDirs[] = $dir; + $metadataDirs[] = realpath($dir); } if (is_dir($dir = $bundleDirs[$namespace].'/'.$class.'/Entities')) { - $entityDirs[] = $dir; + $entityDirs[] = realpath($dir); } } }