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/configuration.md
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,14 @@ If you followed the steps in [Getting Started](./getting-started.md) you should
10
10
11
11
Due to the nature of how ExpressionEngine is loaded through Coilpack you can set variables in your Laravel `.env` and access those values inside of your ExpressionEngine `config.php` file. This can help keep your secrets out of version control and in one central location. We recommend updating your `config.php` to access database credentials and other secrets from the `$_ENV` global.
12
12
13
+
Certain configuration variables in ExpressionEngine will be overwritten by your Laravel environment and config variables. This is a list of current overrides:
| APP_URL | 'app.url' | $config['base_url']| URL and Path > Default base URL |
18
+
| N/A | 'coilpack.base_path' | $config['base_path']| URL and Path > Default base path |
19
+
20
+
13
21
## Accessing ExpressionEngine Config Values
14
22
15
23
After Coilpack bootstraps ExpressionEngine you will be able to access any of your ExpressionEngine `system/user/config.php` values through the Laravel `config()` helper. For example to get your `app_version` you could call `config('coilpack.expressionengine.app_version')` within your Laravel application.
0 commit comments