Skip to content

Commit

Permalink
Dont update config
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed Apr 16, 2016
1 parent 765bffc commit ab8b948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ public function boot()
// If enabled is null, set from the app.debug value
if (is_null($enabled)) {
$enabled = $this->checkAppDebug();
$this->app['config']->set('debugbar.enabled', $enabled);
}

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

/** @var LaravelDebugbar $debugbar */
$debugbar = $this->app['debugbar'];
$debugbar->enable();
$debugbar->boot();

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

0 comments on commit ab8b948

Please sign in to comment.