From 13b7058d2120c8d5af7f1ada21b7c44dd87b666a Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Wed, 17 Feb 2016 09:32:21 +0100 Subject: [PATCH] Dont boot on console, keep config for config cache, fixes #462 --- src/ServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index 24c815e4..374f0b71 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -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 = [