X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=module%2FGalerie%2FModule.php;h=830d142e213363a410c47533777dcd6862d051b2;hb=b64995fe41270b4ef74c0ff874a99208b6c8c09d;hp=274e06428cf2b4698cbecd1235ac0437c572ac2b;hpb=5cd4ecbac38b7ac9723ffeac8b569d770ded052c;p=zf2.biz%2Fgalerie.git diff --git a/module/Galerie/Module.php b/module/Galerie/Module.php index 274e064..830d142 100644 --- a/module/Galerie/Module.php +++ b/module/Galerie/Module.php @@ -1,5 +1,42 @@ + array( + __DIR__ . '/autoload_classmap.php', + ), + 'Zend\Loader\StandardAutoloader' => array( + 'namespaces' => array( + __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__, + ), + ), + ); + } + + public function getConfig() + { + return include __DIR__ . '/config/module.config.php'; + } + + public function onBootstrap(EventInterface $e) + { + $e->getApplication()->getServiceManager()->get('translator'); + } + }