Browse files

fixed parameter

  • Loading branch information...
1 parent 1967e38 commit 6b8b5e3f8dc44437e173c520b7db44c000aa2e0a @bamarni bamarni committed Oct 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 DoctrineCouchDBBundle.php
View
2 DoctrineCouchDBBundle.php
@@ -59,7 +59,7 @@ class_exists('Doctrine\ODM\CouchDB\Mapping\Driver\AnnotationDriver');
$className = substr($class, strlen($namespace) +1);
$file = $dir.DIRECTORY_SEPARATOR.$className.'.php';
- if (!is_file($file) && $container->getParameter('kernel.debug')) {
+ if (!is_file($file) && $container->getParameter('doctrine_couchdb.odm.auto_generate_proxy_classes')) {
$originalClassName = substr($className, 0, -5);
$registry = $container->get('doctrine_couchdb');

0 comments on commit 6b8b5e3

Please sign in to comment.