is('setup*') || $this->app->runningInConsole()) { return; } $this->checkInstallation(); // @codeCoverageIgnore } /** * @codeCoverageIgnore */ protected function checkInstallation() { // Redirect to setup wizard if (config('database.default') == 'dummy' || ! SetupController::checkTablesExist()) { return redirect('/setup')->send(); } if (Comparator::greaterThan(config('app.version'), option('version'))) { return redirect('/setup/update')->send(); } return true; } /** * Register any application services. * * @return void */ public function register() { // } }