-
Notifications
You must be signed in to change notification settings - Fork 49
/
module.config.php
58 lines (57 loc) · 2 KB
/
module.config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
return array(
'view_manager' => array(
'template_path_stack' => array(
'goalioforgotpassword' => __DIR__ . '/../view',
),
'template_map' => array(
'zfc-user/user/login' => __DIR__ . '/../view/zfc-user/user/login.phtml',
),
),
'controllers' => array(
'invokables' => array(
'goalioforgotpassword_forgot' => 'GoalioForgotPassword\Controller\ForgotController',
),
),
'translator' => array(
'translation_file_patterns' => array(
array(
'type' => 'gettext',
'base_dir' => __DIR__ . '/../language',
'pattern' => '%s.mo',
),
),
),
'router' => array(
'routes' => array(
'zfcuser' => array(
'child_routes' => array(
'forgotpassword' => array(
'type' => 'Literal',
'options' => array(
'route' => '/forgot-password',
'defaults' => array(
'controller' => 'goalioforgotpassword_forgot',
'action' => 'forgot',
),
),
),
'resetpassword' => array(
'type' => 'Segment',
'options' => array(
'route' => '/reset-password/:userId/:token',
'defaults' => array(
'controller' => 'goalioforgotpassword_forgot',
'action' => 'reset',
),
'constraints' => array(
'userId' => '[A-Fa-f0-9]+',
'token' => '[A-F0-9]+',
),
),
),
),
),
),
),
);