Permalink
Browse files

Merge pull request #21 from bamarni/patch-1

Update DoctrinePHPCRBundle.php
  • Loading branch information...
2 parents e067f60 + 8aced03 commit 9ff404ce9dbf978b3f4912dbd950be4b6c5cd8d2 @lsmith77 lsmith77 committed Oct 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 DoctrinePHPCRBundle.php
View
2 DoctrinePHPCRBundle.php
@@ -69,7 +69,7 @@ public function boot()
$fileName = str_replace('\\', '', substr($class, strlen($namespace) +1));
$file = $dir.DIRECTORY_SEPARATOR.$fileName.'.php';
- if (!is_file($file) && $container->getParameter('kernel.debug')) {
+ if (!is_file($file) && $container->getParameter('doctrine_phpcr.odm.auto_generate_proxy_classes')) {
$originalClassName = ClassUtils::getRealClass($class);
$registry = $container->get('doctrine_phpcr');

0 comments on commit 9ff404c

Please sign in to comment.