@@ -69,25 +69,25 @@ |
||
| 69 | 69 | |
| 70 | 70 | public function onBootstrap($e) |
| 71 | 71 | { |
| 72 | - $e->getApplication()->getServiceManager()->get('translator'); |
|
| 73 | - $eventManager = $e->getApplication()->getEventManager(); |
|
| 74 | - $moduleRouteListener = new ModuleRouteListener(); |
|
| 75 | - $moduleRouteListener->attach($eventManager); |
|
| 72 | + $e->getApplication()->getServiceManager()->get('translator'); |
|
| 73 | + $eventManager = $e->getApplication()->getEventManager(); |
|
| 74 | + $moduleRouteListener = new ModuleRouteListener(); |
|
| 75 | + $moduleRouteListener->attach($eventManager); |
|
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | public function getConfig() |
| 79 | 79 | { |
| 80 | - return include __DIR__ . '/config/module.config.php'; |
|
| 80 | + return include __DIR__ . '/config/module.config.php'; |
|
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | public function getAutoloaderConfig() |
| 84 | 84 | { |
| 85 | - return array( |
|
| 86 | - 'Zend\Loader\StandardAutoloader' => array( |
|
| 87 | - 'namespaces' => array( |
|
| 88 | - __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__, |
|
| 89 | - ), |
|
| 90 | - ), |
|
| 91 | - ); |
|
| 85 | + return array( |
|
| 86 | + 'Zend\Loader\StandardAutoloader' => array( |
|
| 87 | + 'namespaces' => array( |
|
| 88 | + __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__, |
|
| 89 | + ), |
|
| 90 | + ), |
|
| 91 | + ); |
|
| 92 | 92 | } |
| 93 | 93 | } |
@@ -33,21 +33,21 @@ discard block |
||
| 33 | 33 | 'view_helpers' => array( |
| 34 | 34 | 'invokables' => array( |
| 35 | 35 | 'mailto' => 'OrgHeiglMailproxy\View\Helper\Mailto', |
| 36 | - ), |
|
| 37 | - ), |
|
| 38 | - 'controllers' => array( |
|
| 39 | - 'invokables' => array( |
|
| 40 | - 'OrgHeiglMailproxy\Controller\ProxyController' => 'OrgHeiglMailproxy\Controller\ProxyController' |
|
| 41 | - ), |
|
| 42 | - ), |
|
| 43 | - 'router' => array( |
|
| 44 | - 'routes' => array( |
|
| 45 | - 'mailproxy' => array( |
|
| 46 | - 'type' => 'Segment', |
|
| 36 | + ), |
|
| 37 | + ), |
|
| 38 | + 'controllers' => array( |
|
| 39 | + 'invokables' => array( |
|
| 40 | + 'OrgHeiglMailproxy\Controller\ProxyController' => 'OrgHeiglMailproxy\Controller\ProxyController' |
|
| 41 | + ), |
|
| 42 | + ), |
|
| 43 | + 'router' => array( |
|
| 44 | + 'routes' => array( |
|
| 45 | + 'mailproxy' => array( |
|
| 46 | + 'type' => 'Segment', |
|
| 47 | 47 | 'options' => array( |
| 48 | - 'route' => '/mailproxy[/:id]', |
|
| 48 | + 'route' => '/mailproxy[/:id]', |
|
| 49 | 49 | 'defaults' => array( |
| 50 | - 'controller' => 'OrgHeiglMailproxy\Controller\ProxyController', |
|
| 50 | + 'controller' => 'OrgHeiglMailproxy\Controller\ProxyController', |
|
| 51 | 51 | 'action' => 'index', |
| 52 | 52 | 'id' => 'gu.php@ofni', |
| 53 | 53 | ), |
@@ -62,14 +62,14 @@ discard block |
||
| 62 | 62 | ), |
| 63 | 63 | ), |
| 64 | 64 | 'view_manager' => array( |
| 65 | - 'display_not_found_reason' => true, |
|
| 66 | - 'display_exceptions' => true, |
|
| 67 | - 'doctype' => 'HTML5', |
|
| 68 | - 'not_found_template' => 'error/404', |
|
| 69 | - 'exception_template' => 'error/index', |
|
| 70 | - 'template_map' => array(), |
|
| 71 | - 'template_path_stack' => array( |
|
| 72 | - __DIR__ . '/../view', |
|
| 73 | - ), |
|
| 65 | + 'display_not_found_reason' => true, |
|
| 66 | + 'display_exceptions' => true, |
|
| 67 | + 'doctype' => 'HTML5', |
|
| 68 | + 'not_found_template' => 'error/404', |
|
| 69 | + 'exception_template' => 'error/index', |
|
| 70 | + 'template_map' => array(), |
|
| 71 | + 'template_path_stack' => array( |
|
| 72 | + __DIR__ . '/../view', |
|
| 73 | + ), |
|
| 74 | 74 | ), |
| 75 | 75 | ); |