diff --git a/config/module.config.php b/config/module.config.php index 39ce601..033ca52 100644 --- a/config/module.config.php +++ b/config/module.config.php @@ -9,9 +9,10 @@ 'driver' => [ 'lmcuser_entity' => [ 'class' => XmlDriver::class, - 'paths' => __DIR__ . '/xml/lmcuser' + 'paths' => [ + __DIR__ . '/xml/lmcuser' + ] ], - 'orm_default' => [ 'drivers' => [ 'LmcUser\Entity' => 'lmcuser_entity' diff --git a/src/Module.php b/src/Module.php index a6c633e..7ee03c2 100644 --- a/src/Module.php +++ b/src/Module.php @@ -45,8 +45,8 @@ public function getServiceConfig(): array }, 'lmcuser_user_mapper' => function ($sm) { return new User( - $sm->get('zfcuser_doctrine_em'), - $sm->get('zfcuser_module_options') + $sm->get('lmcuser_doctrine_em'), + $sm->get('lmcuser_module_options') ); }, ], @@ -58,6 +58,6 @@ public function getServiceConfig(): array */ public function getConfig() { - return include __DIR__ . '../config/module.config.php'; + return include __DIR__ . '/../config/module.config.php'; } }