From 08617caf56acf0c880ba8f4e495cc92b3e3aa78a Mon Sep 17 00:00:00 2001 From: "Jonathan H. Wage" Date: Wed, 10 Mar 2010 22:14:55 -0500 Subject: [PATCH] [DoctrineBundle] Fixing issue with paths not being the realpath and causing issues when comparing string paths in Doctrine --- src/Symfony/Framework/DoctrineBundle/Bundle.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } }