Skip to content

Commit

Permalink
Fixed wrong xml dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Zamponi committed Jan 21, 2021
1 parent fb3568c commit 8de5e5e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ public function onBootstrap($e): void
// Add the default entity driver only if specified in configuration
if ($options->getEnableDefaultEntities()) {
$chain = $sm->get('doctrine.driver.orm_default');
$chain->addDriver(new XmlDriver(__DIR__ . '/config/xml/lmcuserdoctrineorm'), 'LmcUserDoctrineORM\Entity');
$chain->addDriver(
new XmlDriver(__DIR__ . '/../config/xml/lmcuserdoctrineorm'),
'LmcUserDoctrineORM\Entity'
);
}
}

Expand Down

0 comments on commit 8de5e5e

Please sign in to comment.