You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/install.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ 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 with the [Email Class](https://codeigniter.com/user_guide/libraries/email.html).
76
+
2. Configure **app/Config/Email.php** to allow Shield to send emails with the [Email Class](https://codeigniter.com/user_guide/libraries/email.html).
77
77
78
78
```php
79
79
<?php
@@ -134,7 +134,7 @@ your project.
134
134
135
135
This requires that all of your controllers extend the `BaseController`, but that's a good practice anyway.
136
136
137
-
3. **Routes Setup** The default auth routes can be setup with a single call in `app/Config/Routes.php`:
137
+
3. **Routes Setup** The default auth routes can be setup with a single call in **app/Config/Routes.php**:
138
138
139
139
```php
140
140
service('auth')->routes($routes);
@@ -159,7 +159,7 @@ your project.
159
159
160
160
1. Use InnoDB, not MyISAM.
161
161
162
-
6. Configure `app/Config/Email.php` to allow Shield to send emails.
162
+
6. Configure **app/Config/Email.php** to allow Shield to send emails.
163
163
164
164
```php
165
165
<?php
@@ -213,7 +213,7 @@ These can be used in any of the [normal filter config settings](https://codeigni
213
213
214
214
### Protect All Pages
215
215
216
-
If you want to limit all routes (e.g. `localhost:8080/admin`, `localhost:8080/panel` and ...), you need to add the following code in the `app/Config/Filters.php` file.
216
+
If you want to limit all routes (e.g. `localhost:8080/admin`, `localhost:8080/panel` and ...), you need to add the following code in the **app/Config/Filters.php** file.
217
217
218
218
```php
219
219
public $globals = [
@@ -241,7 +241,7 @@ public $filters = [
241
241
];
242
242
```
243
243
244
-
> **Note** If you have grouped or changed the default format of the routes, ensure that your code matches the new format(s) in the `App/Config/Filter.php` file.
244
+
> **Note** If you have grouped or changed the default format of the routes, ensure that your code matches the new format(s) in the **app/Config/Filter.php** file.
245
245
246
246
For example, if you configured your routes like so:
0 commit comments