Commit 4a07ac26 authored by guilhermeblanco's avatar guilhermeblanco

[2.0] Fixed issue with AbstractFileDriver exporter that was generating files...

[2.0] Fixed issue with AbstractFileDriver exporter that was generating files using backslashes instead of dots, preventing the other exporters to work correctly.
parent eeec2e43
...@@ -84,7 +84,7 @@ abstract class AbstractExporter ...@@ -84,7 +84,7 @@ abstract class AbstractExporter
} }
foreach ($this->_metadatas as $metadata) { 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); $output = $this->exportClassMetadata($metadata);
file_put_contents($outputPath, $output); file_put_contents($outputPath, $output);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment