Bladeren bron

[DoctrineBundle] BC break - Load fixtures in Resources/data/fixtures/doctrine/orm/

ornicar 14 jaren geleden
bovenliggende
commit
b16303e8b2
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      src/Symfony/Bundle/DoctrineBundle/Command/LoadDataFixturesDoctrineCommand.php

+ 2 - 2
src/Symfony/Bundle/DoctrineBundle/Command/LoadDataFixturesDoctrineCommand.php

@@ -69,7 +69,7 @@ EOT
                 $namespace = str_replace('/', '\\', dirname($tmp));
                 $class = basename($tmp);
 
-                if (isset($bundleDirs[$namespace]) && is_dir($dir = $bundleDirs[$namespace].'/'.$class.'/Resources/data/fixtures/doctrine')) {
+                if (isset($bundleDirs[$namespace]) && is_dir($dir = $bundleDirs[$namespace].'/'.$class.'/Resources/data/fixtures/doctrine/orm')) {
                     $paths[] = $dir;
                 }
             }
@@ -204,4 +204,4 @@ EOT
 
         return $associationTables;
     }
-}
+}