Skip to content

Commit 8093c30

Browse files
committed
L12 changes to config/app.php
1 parent c63ed88 commit 8093c30

File tree

1 file changed

+36
-17
lines changed

1 file changed

+36
-17
lines changed

config/app.php

Lines changed: 36 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,32 @@
22

33
return [
44

5+
/*
6+
|--------------------------------------------------------------------------
7+
| Application Name
8+
|--------------------------------------------------------------------------
9+
|
10+
| This value is the name of your application. This value is used when the
11+
| framework needs to place the application's name in a notification or
12+
| any other location as required by the application or its packages.
13+
|
14+
*/
15+
16+
'name' => env('APP_NAME', 'Winter CMS'),
17+
18+
/*
19+
|--------------------------------------------------------------------------
20+
| Application Environment
21+
|--------------------------------------------------------------------------
22+
|
23+
| This value determines the "environment" your application is currently
24+
| running in. This may determine how you prefer to configure various
25+
| services the application utilizes. Set this in your ".env" file.
26+
|
27+
*/
28+
29+
'env' => env('APP_ENV', 'production'),
30+
531
/*
632
|--------------------------------------------------------------------------
733
| Application Debug Mode
@@ -20,20 +46,7 @@
2046
|
2147
*/
2248

23-
'debug' => env('APP_DEBUG', true),
24-
25-
/*
26-
|--------------------------------------------------------------------------
27-
| Application Name
28-
|--------------------------------------------------------------------------
29-
|
30-
| This value is the name of your application. This value is used when the
31-
| framework needs to place the application's name in a notification or
32-
| any other location as required by the application or its packages.
33-
|
34-
*/
35-
36-
'name' => env('APP_NAME', 'Winter CMS'),
49+
'debug' => (bool) env('APP_DEBUG', true),
3750

3851
/*
3952
|--------------------------------------------------------------------------
@@ -42,7 +55,7 @@
4255
|
4356
| This URL is used by the console to properly generate URLs when using
4457
| the Artisan command line tool. You should set this to the root of
45-
| your application so that it is used when running Artisan tasks.
58+
| the application so that it's available within Artisan commands.
4659
|
4760
*/
4861

@@ -183,7 +196,6 @@
183196
| will be used by the PHP date and date-time functions. We have gone
184197
| ahead and set this to a sensible default for you out of the box.
185198
|
186-
|
187199
| -------- STOP! --------
188200
| Before you change this value, consider carefully if that is actually
189201
| what you want to do. It is HIGHLY recommended that this is always set
@@ -264,9 +276,16 @@
264276
|
265277
*/
266278

267-
'key' => env('APP_KEY'),
268279
'cipher' => 'AES-256-CBC',
269280

281+
'key' => env('APP_KEY'),
282+
283+
'previous_keys' => [
284+
...array_filter(
285+
explode(',', (string) env('APP_PREVIOUS_KEYS', ''))
286+
),
287+
],
288+
270289
/*
271290
|--------------------------------------------------------------------------
272291
| Autoloaded Service Providers

0 commit comments

Comments
 (0)