Skip to content

Commit

Permalink
Merge 2d6b0af into 2f5e9a9
Browse files Browse the repository at this point in the history
  • Loading branch information
Nash-x9 committed Mar 5, 2018
2 parents 2f5e9a9 + 2d6b0af commit 91f9772
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/panels/DbPanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ class DbPanel extends \yii\debug\panels\DbPanel
{
use DataStoragePanelTrait;

/**
* Be able to use Module Configuration for DbPanel
*/
public function init()
{
$this->db = $this->module->db;
}

/**
* @var array current database request timings
*/
Expand Down

0 comments on commit 91f9772

Please sign in to comment.