Skip to content

Commit 7014487

Browse files
committed
docs: make file paths bold
1 parent 419b41a commit 7014487

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/install.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
- [Protect All Pages](#protect-all-pages)
1313
- [Rate Limiting](#rate-limiting)
1414

15-
These instructions assume that you have already [installed the CodeIgniter 4 app starter](https://codeigniter.com/user_guide/installation/installing_composer.html) as the basis for your new project, set up your `.env` file, and created a database that you can access via the Spark CLI script.
15+
These instructions assume that you have already [installed the CodeIgniter 4 app starter](https://codeigniter.com/user_guide/installation/installing_composer.html) as the basis for your new project, set up your **.env** file, and created a database that you can access via the Spark CLI script.
1616

1717
## Requirements
1818

@@ -103,7 +103,7 @@ Require it with an explicit version constraint allowing its desired stability.
103103
There are a few setup items to do before you can start using Shield in
104104
your project.
105105

106-
1. Copy the `Auth.php` and `AuthGroups.php` from `vendor/codeigniter4/shield/src/Config/` into your project's config folder and update the namespace to `Config`. You will also need to have these classes extend the original classes. See the example below. These files contain all of the settings, group, and permission information for your application and will need to be modified to meet the needs of your site.
106+
1. Copy the **Auth.php** and **AuthGroups.php** from **vendor/codeigniter4/shield/src/Config/** into your project's config folder and update the namespace to `Config`. You will also need to have these classes extend the original classes. See the example below. These files contain all of the settings, group, and permission information for your application and will need to be modified to meet the needs of your site.
107107

108108
```php
109109
// new file - app/Config/Auth.php
@@ -140,7 +140,7 @@ your project.
140140
service('auth')->routes($routes);
141141
```
142142

143-
4. **Security Setup** Set `Config\Security::$csrfProtection` to `'session'` (or set `security.csrfProtection = session` in your `.env` file) for security reasons, if you use Session Authenticator.
143+
4. **Security Setup** Set `Config\Security::$csrfProtection` to `'session'` (or set `security.csrfProtection = session` in your **.env** file) for security reasons, if you use Session Authenticator.
144144

145145
5. **Migration** Run the migrations.
146146

@@ -152,7 +152,7 @@ your project.
152152

153153
When you run `spark migrate --all`, if you get `Class "SQLite3" not found` error:
154154

155-
1. Remove sample migration files in `tests/_support/Database/Migrations/`
155+
1. Remove sample migration files in **tests/_support/Database/Migrations/**
156156
2. Or install `sqlite3` php extension
157157

158158
If you get `Specified key was too long` error:
@@ -209,7 +209,7 @@ permission | Checks if the user has the passed permissions.
209209

210210
These can be used in any of the [normal filter config settings](https://codeigniter.com/user_guide/incoming/filters.html?highlight=filter#globals), or [within the routes file](https://codeigniter.com/user_guide/incoming/routing.html?highlight=routs#applying-filters).
211211

212-
> **Note** These filters are already loaded for you by the registrar class located at `src/Config/Registrar.php`.
212+
> **Note** These filters are already loaded for you by the registrar class located at **src/Config/Registrar.php**.
213213
214214
### Protect All Pages
215215

0 commit comments

Comments
 (0)