8000 [DoctrineBundle] Fixing issue with paths not being the realpath and c… · CodingFabian/symfony@08617ca · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 08617ca

Browse files
jwagefabpot
authored andcommitted
[DoctrineBundle] Fixing issue with paths not being the realpath and causing issues when comparing string paths in Doctrine
1 parent 573f95a commit 08617ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Framework/DoctrineBundle/Bundle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ public function buildContainer(ContainerInterface $container)
4343
{
4444
if (is_dir($dir = $bundleDirs[$namespace].'/'.$class.'/Resources/config/doctrine/metadata'))
4545
{
46-
$metadataDirs[] = $dir;
46+
$metadataDirs[] = realpath($dir);
4747
}
4848
if (is_dir($dir = $bundleDirs[$namespace].'/'.$class.'/Entities'))
4949
{
50-
$entityDirs[] = $dir;
50+
$entityDirs[] = realpath($dir);
5151
}
5252
}
5353
}

0 commit comments

Comments
 (0)
0