Skip to content

Commit

Permalink
reorganized debug into debug dir
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Jan 19, 2017
1 parent 248410e commit f4b70e8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/config/hisite.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

return [
'modules' => array_filter([
'debug' => defined('YII_DEBUG') && YII_DEBUG ? [
'debug' => empty($params['debug.enabled']) ? null : [
'panels' => [
'hiart' => [
'class' => \hiqdev\hiart\DebugPanel::class,
'class' => \hiqdev\hiart\debug\DebugPanel::class,
],
],
] : null,
],
]),
];
2 changes: 1 addition & 1 deletion src/DebugAction.php → src/debug/DebugAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
*/

namespace hiqdev\hiart;
namespace hiqdev\hiart\debug;

use Yii;
use yii\base\Action;
Expand Down
4 changes: 2 additions & 2 deletions src/DebugPanel.php → src/debug/DebugPanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
*/

namespace hiqdev\hiart;
namespace hiqdev\hiart\debug;

use Yii;
use yii\debug\Panel;
Expand All @@ -29,7 +29,7 @@ class DebugPanel extends Panel
public function init()
{
$this->actions['hiart-query'] = [
'class' => 'hiqdev\\hiart\\DebugAction',
'class' => DebugAction::class,
'panel' => $this,
'db' => $this->db,
];
Expand Down

0 comments on commit f4b70e8

Please sign in to comment.