Skip to content

Commit

Permalink
Merge bd8d890 into 99c87de
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne committed Jan 31, 2019
2 parents 99c87de + bd8d890 commit b4fd69a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RunTracy/Middlewares/TracyMiddleware.php
Expand Up @@ -126,7 +126,7 @@ public function __invoke(Request $request, Response $response, callable $next)
Debugger::getBar()->addPanel(new \RunTracy\Helpers\IncludedFiles());
}
// check if enabled or blink if active critical value
if (isset($cfg['showConsolePanel']) || $this->defcfg['configs']['ConsoleNoLogin']) {
if (isset($cfg['showConsolePanel']) || (isset($cfg['configs']['ConsoleNoLogin']) && $this->defcfg['configs']['ConsoleNoLogin'])) {
Debugger::getBar()->addPanel(new \RunTracy\Helpers\ConsolePanel(
$this->defcfg['configs']
));
Expand Down

0 comments on commit b4fd69a

Please sign in to comment.