-
Notifications
You must be signed in to change notification settings - Fork 17
/
module.config.php
88 lines (88 loc) · 2.98 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?php
return array(
'phly_contact' => array(
'captcha' => array(
'class' => 'dumb',
),
'form' => array(
'name' => 'contact',
),
'mail_transport' => array(
'class' => 'Zend\Mail\Transport\Sendmail',
'options' => array(
)
),
'message' => array(
/*
'to' => array(
'EMAIL HERE' => 'NAME HERE',
),
'sender' => array(
'address' => 'EMAIL HERE',
'name' => 'NAME HERE',
),
'from' => array(
'EMAIL HERE' => 'NAME HERE',
),
*/
),
),
'controllers' => array(
'factories' => array(
'PhlyContact\Controller\Contact' => 'PhlyContact\Service\ContactControllerFactory',
),
),
'router' => array(
'routes' => array(
'contact' => array(
'type' => 'Literal',
'options' => array(
'route' => '/contact',
'defaults' => array(
'__NAMESPACE__' => 'PhlyContact\Controller',
'controller' => 'Contact',
'action' => 'index',
),
),
'may_terminate' => true,
'child_routes' => array(
'process' => array(
'type' => 'Literal',
'options' => array(
'route' => '/process',
'defaults' => array(
'action' => 'process',
),
),
),
'thank-you' => array(
'type' => 'Literal',
'options' => array(
'route' => '/thank-you',
'defaults' => array(
'action' => 'thank-you',
),
),
),
),
),
),
),
'service_manager' => array(
'factories' => array(
'PhlyContactCaptcha' => 'PhlyContact\Service\ContactCaptchaFactory',
'PhlyContactForm' => 'PhlyContact\Service\ContactFormFactory',
'PhlyContactMailMessage' => 'PhlyContact\Service\ContactMailMessageFactory',
'PhlyContactMailTransport' => 'PhlyContact\Service\ContactMailTransportFactory',
),
),
'view_manager' => array(
'template_map' => array(
'phly-contact/contact/index' => __DIR__ . '/../view/phly-contact/contact/index.phtml',
'phly-contact/contact/thank-you' => __DIR__ . '/../view/phly-contact/contact/thank-you.phtml',
),
'template_path_stack' => array(
'phly-contact' => __DIR__ . '/../view',
),
),
);