Skip to content

Commit ab8b948

Browse files
committed
Dont update config
1 parent 765bffc commit ab8b948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ public function boot()
9999
// If enabled is null, set from the app.debug value
100100
if (is_null($enabled)) {
101101
$enabled = $this->checkAppDebug();
102-
$this->app['config']->set('debugbar.enabled', $enabled);
103102
}
104103

105104
if ( ! $enabled) {
@@ -108,6 +107,7 @@ public function boot()
108107

109108
/** @var LaravelDebugbar $debugbar */
110109
$debugbar = $this->app['debugbar'];
110+
$debugbar->enable();
111111
$debugbar->boot();
112112

113113
$this->registerMiddleware('Barryvdh\Debugbar\Middleware\Debugbar');

0 commit comments

Comments
 (0)