Skip to content

Commit

Permalink
Dont boot on console, keep config for config cache, fixes barryvdh#462
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed Feb 17, 2016
1 parent 0d62507 commit 13b7058
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 @@ -64,7 +64,7 @@ public function boot()
$this->publishes([$configPath => $this->getConfigPath()], 'config');

if ($app->runningInConsole()) {
$this->app['config']->set('debugbar.enabled', false);
return;
}

$routeConfig = [
Expand Down

0 comments on commit 13b7058

Please sign in to comment.