File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed
Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 11<?php
22
3+ /*
4+ |--------------------------------------------------------------------------
5+ | App Config
6+ |--------------------------------------------------------------------------
7+ |
8+ | This file contains the configuration for your app. Most of this
9+ | configuration is for Leaf's core but has been made available
10+ | to you for your convenience.
11+ |
12+ | You can link your environment variables to this file by using the
13+ | _env() helper function. This function will return the value set in
14+ | your .env file. You can use the below settings as a reference.
15+ |
16+ */
17+
318return [
419 /*
520 |--------------------------------------------------------------------------
1025 | your app in a maintainance like state. It will display Leaf's default
1126 | app down page if a custom handler is not set.
1227 |
13- | See:
14- | https://leafphp.netlify.app/#/leaf/v/2.5.0/config/settings?id=appdown-new
28+ | See: https://leafphp.dev/docs/config/settings.html#app-down
1529 |
1630 */
17- 'app.down ' => false ,
31+ 'app.down ' => _env ( ' APP_DOWN ' , false ) ,
1832
1933 /*
2034 |--------------------------------------------------------------------------
2943 | You might want to turn this off in production.
3044 |
3145 */
32- 'debug ' => true ,
46+ 'debug ' => _env ( ' APP_DEBUG ' , true ) ,
3347
3448 /*
3549 |--------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments