Skip to content

Commit bce5689

Browse files
committed
Update readme.md
1 parent 6c02097 commit bce5689

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ php artisan vendor:publish
7878
For Lumen, register a different Provider in `bootstrap/app.php`:
7979

8080
```
81-
$app->register(Barryvdh\Debugbar\LumenServiceProvider::class);
81+
if (env('APP_DEBUG')) {
82+
$app->register(Barryvdh\Debugbar\LumenServiceProvider::class);
83+
}
8284
```
8385

8486
To change the configuration, copy the file to your config folder and enable it:

0 commit comments

Comments
 (0)