Skip to content

Commit

Permalink
Update DoctrinePHPCRBundle.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bamarni committed Oct 11, 2012
1 parent e067f60 commit 8aced03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DoctrinePHPCRBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 8aced03

Please sign in to comment.