diff --git a/CHANGELOG.md b/CHANGELOG.md index 43943f5..a51b765 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,8 @@ All notable changes to this project will be documented in this file, in reverse ### Fixed -- Nothing. +- Xml directory path. + ## 3.0.0 - 2020-11-19 diff --git a/src/Module.php b/src/Module.php index 7290e87..40ca4e2 100644 --- a/src/Module.php +++ b/src/Module.php @@ -27,7 +27,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' + ); } }