Skip to content

Commit 1536cbf

Browse files
committed
wip
1 parent 3fc9f52 commit 1536cbf

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

configuration.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,15 +213,16 @@ The `config:clear` command may be used to purge the cached configuration:
213213
php artisan config:clear
214214
```
215215

216-
> **Warning**
216+
> **Warning**
217217
> If you execute the `config:cache` command during your deployment process, you should be sure that you are only calling the `env` function from within your configuration files. Once the configuration has been cached, the `.env` file will not be loaded; therefore, the `env` function will only return external, system level environment variables.
218218
219219
<a name="debug-mode"></a>
220220
## Debug Mode
221221

222222
The `debug` option in your `config/app.php` configuration file determines how much information about an error is actually displayed to the user. By default, this option is set to respect the value of the `APP_DEBUG` environment variable, which is stored in your `.env` file.
223223

224-
For local development, you should set the `APP_DEBUG` environment variable to `true`. **In your production environment, this value should always be `false`. If the variable is set to `true` in production, you risk exposing sensitive configuration values to your application's end users.**
224+
> **Warning**
225+
> For local development, you should set the `APP_DEBUG` environment variable to `true`. **In your production environment, this value should always be `false`. If the variable is set to `true` in production, you risk exposing sensitive configuration values to your application's end users.**
225226
226227
<a name="maintenance-mode"></a>
227228
## Maintenance Mode

deployment.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ This command precompiles all your Blade views so they are not compiled on demand
152152

153153
The debug option in your config/app.php configuration file determines how much information about an error is actually displayed to the user. By default, this option is set to respect the value of the `APP_DEBUG` environment variable, which is stored in your application's `.env` file.
154154

155-
**In your production environment, this value should always be `false`. If the `APP_DEBUG` variable is set to `true` in production, you risk exposing sensitive configuration values to your application's end users.**
155+
> **Warning**
156+
> **In your production environment, this value should always be `false`. If the `APP_DEBUG` variable is set to `true` in production, you risk exposing sensitive configuration values to your application's end users.**
156157
157158
<a name="deploying-with-forge-or-vapor"></a>
158159
## Easy Deployment With Forge / Vapor

0 commit comments

Comments
 (0)