mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 06:07:39 +02:00
class DibiNettePanel is included in dibi.php [Closes #49]
This commit is contained in:
@@ -119,7 +119,7 @@ class DibiConnection extends DibiObject
|
||||
$this->onEvent[] = array(new DibiFirePhpLogger($filter), 'logEvent');
|
||||
}
|
||||
|
||||
if (interface_exists('Nette\Diagnostics\IBarPanel') || interface_exists('IBarPanel')) {
|
||||
if (class_exists('DibiNettePanel')) {
|
||||
$panel = new DibiNettePanel(isset($profilerCfg['explain']) ? $profilerCfg['explain'] : TRUE, $filter);
|
||||
$panel->register($this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user