Skip to content

Commit

Permalink
fixed bug 'interface IBarPanel not found' [Closes #137]
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jun 11, 2014
1 parent c23d9c2 commit c322513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dibi/libs/DibiConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function __construct($config, $name = NULL)
$this->onEvent[] = array(new DibiFirePhpLogger($filter), 'logEvent');
}

if (class_exists('DibiNettePanel') && !interface_exists('Tracy\IBarPanel')) {
if (!interface_exists('Tracy\IBarPanel') && (interface_exists('Nette\Diagnostics\IBarPanel') || interface_exists('IBarPanel'))) {
$panel = new DibiNettePanel(isset($profilerCfg['explain']) ? $profilerCfg['explain'] : TRUE, $filter);
$panel->register($this);
}
Expand Down

1 comment on commit c322513

@radekdostal
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This release (2.2.1) is presented as VERSION 2.2.0, released on 2014-06-02, same as release 2.2.0.

Please sign in to comment.