X-Git-Url: http://git.inspyration.org/?p=zf2.biz%2Fgalerie.git;a=blobdiff_plain;f=module%2FAuth%2Fconfig%2Fmodule.config.php;fp=module%2FAuth%2Fconfig%2Fmodule.config.php;h=0972b3c5fe72990c3f588fad40ebdee760ba7111;hp=0000000000000000000000000000000000000000;hb=958e917c5c3e93a75a1a4b3aff11ac81b7e99863;hpb=1537f3c9b21ebdef144195147b882ec26820ec2c diff --git a/module/Auth/config/module.config.php b/module/Auth/config/module.config.php new file mode 100644 index 0000000..0972b3c --- /dev/null +++ b/module/Auth/config/module.config.php @@ -0,0 +1,49 @@ + array( + 'routes' => array( + 'auth' => array( + 'type' => 'Literal', + 'options' => array( + 'route' => '/login', + 'defaults' => array( + '__NAMESPACE__' => 'Auth\Controller', + 'controller' => 'Index', + 'action' => 'index', + ), + ), + 'may_terminate' => true, + ), + ), + ), + 'controllers' => array( + 'invokables' => array( + 'Auth\Controller\Index' => 'Auth\Controller\IndexController' + ), + ), + 'view_manager' => array( + 'display_not_found_reason' => true, + 'display_exceptions' => true, + 'doctype' => 'HTML5', + 'not_found_template' => 'error/404', + 'exception_template' => 'error/index', + 'template_map' => array( + 'layout/layout' => __DIR__ . '/../../Application/view/layout/layout.phtml', + 'error/404' => __DIR__ . '/../../Application/view/error/404.phtml', + 'error/index' => __DIR__ . '/../../Application/view/error/index.phtml', + 'auth/index/index' => __DIR__ . '/../view/auth/index/index.phtml', + ), + 'template_path_stack' => array( + __DIR__ . '/../view', + ), + ), +);