[DoctrineBundle] Fixing issue with paths not being the realpath and causing issues when comparing string paths in Doctrine
This commit is contained in:
parent
573f95a80c
commit
08617caf56
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user