X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=module%2FApplication%2Fconfig%2Fmodule.config.php;h=dd2f0d7122b07fa13b1efad39ad81623b4a17620;hb=9f7663fccceeeb7d3b00f6ee32cc5da70d7190c0;hp=2ae21f013c0239094e7a75e5137132f754d94e02;hpb=5245b8954b9d1bf04d370bf3a2d715a40d8f7825;p=zf2.biz%2Fgalerie.git diff --git a/module/Application/config/module.config.php b/module/Application/config/module.config.php index 2ae21f0..dd2f0d7 100644 --- a/module/Application/config/module.config.php +++ b/module/Application/config/module.config.php @@ -29,9 +29,17 @@ return array( // Setup the View layer 'Zend\View\Resolver\AggregateResolver' => array( 'injections' => array( + 'Zend\View\Resolver\TemplateMapResolver', 'Zend\View\Resolver\TemplatePathStack', ), ), + 'Zend\View\Resolver\TemplateMapResolver' => array( + 'parameters' => array( + 'map' => array( + 'layout/layout' => __DIR__ . '/../view/layout/layout.phtml', + ), + ), + ), 'Zend\View\Resolver\TemplatePathStack' => array( 'parameters' => array( 'paths' => array( @@ -58,6 +66,7 @@ return array( 'Zend\Mvc\View\RouteNotFoundStrategy' => array( 'parameters' => array( 'notFoundTemplate' => 'error/404', + 'displayNotFoundReason' => true, ), ),