Skip to content
Browse files

fixed parameter

  • Loading branch information...
1 parent e8376a1 commit ed14acc94799016be0724a39601a0e5bea651fde @bamarni bamarni committed Oct 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 DoctrineMongoDBBundle.php
View
2 DoctrineMongoDBBundle.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_mongodb.odm.auto_generate_proxy_classes')) {
$originalClassName = ClassUtils::getRealClass($class);
$registry = $container->get('doctrine_mongodb');

0 comments on commit ed14acc

Please sign in to comment.
Something went wrong with that request. Please try again.