Skip to content

Commit

Permalink
Merge pull request #61 from avored/dev
Browse files Browse the repository at this point in the history
Fixed DB Connection Check
  • Loading branch information
indpurvesh authored Jan 4, 2019
2 parents 0273fe3 + c9cf608 commit 563be9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Theme/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function boot()
$dbConnectError = true;
}

if (false === $dbConnectError) {
if (false === $dbConnectError && Schema::hasTable('configurations')) {
$repository = $this->app->get(ConfigurationInterface::class);
$activeTheme = $repository->getValueByKey('active_theme_identifier');
}
Expand Down

0 comments on commit 563be9c

Please sign in to comment.