-
- public function getConfig()
- {
- return include __DIR__ . '/config/module.config.php';
- }
-
- public function initializeView($e)
- {
- $app = $e->getParam('application');
- $basePath = $app->getRequest()->getBasePath();
- $locator = $app->getLocator();
- $renderer = $locator->get('Zend\View\Renderer\PhpRenderer');
- $renderer->plugin('basePath')->setBasePath($basePath);
- }