X-Git-Url: http://git.inspyration.org/?p=zf2.biz%2Fgalerie.git;a=blobdiff_plain;f=module%2FAuth%2FModule.php;fp=module%2FAuth%2FModule.php;h=bd0586cb465d95c956b5bd44c71b63848106040a;hp=0000000000000000000000000000000000000000;hb=958e917c5c3e93a75a1a4b3aff11ac81b7e99863;hpb=1537f3c9b21ebdef144195147b882ec26820ec2c diff --git a/module/Auth/Module.php b/module/Auth/Module.php new file mode 100644 index 0000000..bd0586c --- /dev/null +++ b/module/Auth/Module.php @@ -0,0 +1,40 @@ +getApplication()->getServiceManager()->get('translator'); + $eventManager = $e->getApplication()->getEventManager(); + $moduleRouteListener = new ModuleRouteListener(); + $moduleRouteListener->attach($eventManager); + } + + public function getConfig() + { + return include __DIR__ . '/config/module.config.php'; + } + + public function getAutoloaderConfig() + { + return array( + 'Zend\Loader\ClassMapAutoloader' => array( + __DIR__ . '/config/autoload_classmap.php', + ), + ); + } + +}