|
2 | 2 |
|
3 | 3 | return [ |
4 | 4 |
|
| 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 | + |
5 | 31 | /* |
6 | 32 | |-------------------------------------------------------------------------- |
7 | 33 | | Application Debug Mode |
|
20 | 46 | | |
21 | 47 | */ |
22 | 48 |
|
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), |
37 | 50 |
|
38 | 51 | /* |
39 | 52 | |-------------------------------------------------------------------------- |
|
42 | 55 | | |
43 | 56 | | This URL is used by the console to properly generate URLs when using |
44 | 57 | | 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. |
46 | 59 | | |
47 | 60 | */ |
48 | 61 |
|
|
183 | 196 | | will be used by the PHP date and date-time functions. We have gone |
184 | 197 | | ahead and set this to a sensible default for you out of the box. |
185 | 198 | | |
186 | | - | |
187 | 199 | | -------- STOP! -------- |
188 | 200 | | Before you change this value, consider carefully if that is actually |
189 | 201 | | what you want to do. It is HIGHLY recommended that this is always set |
|
264 | 276 | | |
265 | 277 | */ |
266 | 278 |
|
267 | | - 'key' => env('APP_KEY'), |
268 | 279 | 'cipher' => 'AES-256-CBC', |
269 | 280 |
|
| 281 | + 'key' => env('APP_KEY'), |
| 282 | + |
| 283 | + 'previous_keys' => [ |
| 284 | + ...array_filter( |
| 285 | + explode(',', (string) env('APP_PREVIOUS_KEYS', '')) |
| 286 | + ), |
| 287 | + ], |
| 288 | + |
270 | 289 | /* |
271 | 290 | |-------------------------------------------------------------------------- |
272 | 291 | | Autoloaded Service Providers |
|
0 commit comments