File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,31 @@ Require it with an explicit version constraint allowing its desired stability.
73
73
php spark shield:setup
74
74
```
75
75
76
+ 2 . Configure `app/Config/Email.php` to allow Shield to send emails.
77
+
78
+ ```php
79
+ <?php
80
+
81
+ namespace Config;
82
+
83
+ use CodeIgniter\Config\BaseConfig;
84
+
85
+ class Email extends BaseConfig
86
+ {
87
+ /**
88
+ * @var string
89
+ */
90
+ public $fromEmail = '[email protected] ';
91
+
92
+ /**
93
+ * @var string
94
+ */
95
+ public $fromName = 'your name';
96
+
97
+ // ...
98
+ }
99
+ ```
100
+
76
101
### Manual Setup
77
102
78
103
There are a few setup items to do before you can start using Shield in
@@ -134,6 +159,31 @@ your project.
134
159
135
160
1 . Use InnoDB, not MyISAM.
136
161
162
+ 6 . Configure `app/Config/Email.php` to allow Shield to send emails.
163
+
164
+ ```php
165
+ <?php
166
+
167
+ namespace Config;
168
+
169
+ use CodeIgniter\Config\BaseConfig;
170
+
171
+ class Email extends BaseConfig
172
+ {
173
+ /**
174
+ * @var string
175
+ */
176
+ public $fromEmail = '[email protected] ';
177
+
178
+ /**
179
+ * @var string
180
+ */
181
+ public $fromName = 'your name';
182
+
183
+ // ...
184
+ }
185
+ ```
186
+
137
187
## Controller Filters
138
188
The [Controller Filters](https://codeigniter.com/user_guide/incoming/filters.html) you can use to protect your routes the shield provides are:
139
189
You can’t perform that action at this time.
0 commit comments