Explorar el Código

Edited src/Symfony/Bundle/DoctrineBundle/Command/ImportMappingDoctrineCommand.php via GitHub

ouardisoft hace 14 años
padre
commit
52c3bce52d

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Command/ImportMappingDoctrineCommand.php

@@ -91,7 +91,7 @@ EOT
                 if ('annotation' === $type) {
                     $path = $destPath.'/'.$className.'.orm.php';
                 } else {
-                    $path = $destPath.'/'.str_replace('\\', '.', $class->name).'.orm.'.$type;
+                    $path = $destPath.'/'.$className.'.orm.'.$type;
                 }
                 $output->writeln(sprintf('  > writing <comment>%s</comment>', $path));
                 $code = $exporter->exportClassMetadata($class);