This repository was archived by the owner on Apr 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-25
lines changed Expand file tree Collapse file tree 2 files changed +7
-25
lines changed Original file line number Diff line number Diff line change 6
6
| Dashboard
7
7
|--------------------------------------------------------------------------
8
8
|
9
- | By default /lucid/dashboard is available on when env('APP_DEBUG')
10
- | is true. If you set this value to "true" it will be always accessible
11
- | even on production environment.
9
+ | By default /lucid/dashboard is available when env('APP_DEBUG') is true.
10
+ | If you set this value to "true" it will be always accessible even on
11
+ | production environment.
12
12
|
13
13
*/
14
14
'dashboard ' => null ,
15
-
16
- /*
17
- |--------------------------------------------------------------------------
18
- | Microservice
19
- |--------------------------------------------------------------------------
20
- |
21
- | By default Lucid Architecture is setup as microservice. Microservice
22
- | means that you will have only one service and all features / jobs / data
23
- | etc. will be generated into /app/ directory.
24
- |
25
- | When you set this value to "false" it means you application have multiple
26
- | services and all classes will be generated into /src/ directrory.
27
- | After changing that value all "lucid" classes should be moved
28
- | from /app/ to /src/.
29
- |
30
- */
31
- //'microservice' => true,
32
-
33
15
];
Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ public function boot()
27
27
$ configPath = __DIR__ . '/../config/lucid.php ' ;
28
28
$ this ->publishes ([$ configPath => $ this ->getConfigPath ()], 'config ' );
29
29
30
- $ dashboard_enabled = $ this ->app ['config ' ]->get ('lucid.dashboard ' );
30
+ $ dashboardEnabled = $ this ->app ['config ' ]->get ('lucid.dashboard ' );
31
31
32
- if ($ dashboard_enabled === null ) {
33
- $ dashboard_enabled = $ this ->app ['config ' ]->get ('app.debug ' );
32
+ if ($ dashboardEnabled === null ) {
33
+ $ dashboardEnabled = $ this ->app ['config ' ]->get ('app.debug ' );
34
34
}
35
35
36
- if ($ dashboard_enabled === true ) {
36
+ if ($ dashboardEnabled === true ) {
37
37
if (!$ this ->app ->routesAreCached () ) {
38
38
require_once __DIR__ .'/Http/routes.php ' ;
39
39
}
You can’t perform that action at this time.
0 commit comments