From: Matthew Weier O'Phinney Date: Tue, 14 Feb 2012 04:29:34 +0000 (-0600) Subject: Updated configuration to follow view-layer X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=a181bb77ea92727d8343cc956acb0c1e517a0d9d;p=zf2.biz%2Fapplication_blanche.git Updated configuration to follow view-layer - names of templates should not include file suffix - corrected parameter names for exception, no route strategies --- diff --git a/module/Application/config/module.config.php b/module/Application/config/module.config.php index e6f4afa..02a7061 100644 --- a/module/Application/config/module.config.php +++ b/module/Application/config/module.config.php @@ -49,18 +49,18 @@ return array( ), 'Zend\Mvc\View\DefaultRenderingStrategy' => array( 'parameters' => array( - 'baseTemplate' => 'layout/layout.phtml', + 'baseTemplate' => 'layout/layout', ), ), 'Zend\Mvc\View\ExceptionStrategy' => array( 'parameters' => array( 'displayExceptions' => true, - 'errorTemplate' => 'error/index.phtml', + 'template' => 'error/index', ), ), 'Zend\Mvc\View\RouteNotFoundStrategy' => array( 'parameters' => array( - 'notFoundTemplate' => 'error/404.phtml', + 'notFoundTemplate' => 'error/404', ), ),