Corrections diverses
[zf2.biz/galerie.git] / module / Auth / config / module.config.php
1 <?php
2 /**
3  * Application blanche   (http://zf2.biz)
4  * utiise Zend Framework (http://framework.zend.com/)
5  *
6  * @link      http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
7  * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
8  * @license   http://framework.zend.com/license/new-bsd New BSD License
9  */
10
11 return array(
12     'router' => array(
13         'routes' => array(
14             'auth' => array(
15                 'type'    => 'Literal',
16                 'options' => array(
17                     'route'    => '/login',
18                     'defaults' => array(
19                         '__NAMESPACE__' => 'Auth\Controller',
20                         'controller'    => 'Index',
21                         'action'        => 'index',
22                     ),
23                 ),
24                 'may_terminate' => true,
25             ),
26         ),
27     ),
28     'controllers' => array(
29         'invokables' => array(
30             'Auth\Controller\Index' => 'Auth\Controller\IndexController'
31         ),
32     ),
33     'view_manager' => array(
34         'display_not_found_reason' => true,
35         'display_exceptions'       => true,
36         'doctype'                  => 'HTML5',
37         'not_found_template'       => 'error/404',
38         'exception_template'       => 'error/index',
39         'template_map' => array(
40             'layout/layout'    => __DIR__ . '/../../Application/view/layout/layout.phtml',
41             'error/404'        => __DIR__ . '/../../Application/view/error/404.phtml',
42             'error/index'      => __DIR__ . '/../../Application/view/error/index.phtml',
43             'auth/index/index' => __DIR__ . '/../view/auth/index/index.phtml',
44         ),
45         'template_path_stack' => array(
46             __DIR__ . '/../view',
47         ),
48     ),
49 );