From 4a07ac26da1d37d1ed885d6f78b92c9ad68e6f0d Mon Sep 17 00:00:00 2001 From: guilhermeblanco Date: Mon, 8 Mar 2010 23:40:55 +0000 Subject: [PATCH] [2.0] Fixed issue with AbstractFileDriver exporter that was generating files using backslashes instead of dots, preventing the other exporters to work correctly. --- lib/Doctrine/ORM/Tools/Export/Driver/AbstractExporter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Tools/Export/Driver/AbstractExporter.php b/lib/Doctrine/ORM/Tools/Export/Driver/AbstractExporter.php index 6f84e8237..b8321ec44 100644 --- a/lib/Doctrine/ORM/Tools/Export/Driver/AbstractExporter.php +++ b/lib/Doctrine/ORM/Tools/Export/Driver/AbstractExporter.php @@ -84,7 +84,7 @@ abstract class AbstractExporter } foreach ($this->_metadatas as $metadata) { - $outputPath = $this->_outputDir . '/' . $metadata->name . $this->_extension; + $outputPath = $this->_outputDir . '/' . str_replace('\\', '.', $metadata->name) . $this->_extension; $output = $this->exportClassMetadata($metadata); file_put_contents($outputPath, $output); }