Skip to content

Commit

Permalink
DBP: Added ability to set force flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ivanov committed Aug 2, 2017
1 parent 3a821d7 commit 0eef37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DbProfilerServiceProvider.php
Expand Up @@ -44,7 +44,7 @@ public function boot()

private function isEnabled()
{
if (!$this->app->isLocal()) {
if (!config('db-profiler.force') && !$this->app->isLocal()) {
return false;
}

Expand Down

0 comments on commit 0eef37f

Please sign in to comment.