Skip to content

Commit

Permalink
added parsed phpinfo to config detail, removed controller action
Browse files Browse the repository at this point in the history
  • Loading branch information
schmunk42 committed Feb 7, 2014
1 parent 61cb444 commit c998461
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions extensions/debug/controllers/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ public function actionToolbar($tag)
]);
}

public function actionPhpinfo()
{
phpinfo();
}

private $_manifest;

Expand Down
4 changes: 2 additions & 2 deletions extensions/debug/views/default/panels/config/detail.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
?>
<h1>Configuration</h1>

<div><?= Html::a('Show phpinfo() »', ['phpinfo'], ['class' => 'btn btn-info', 'target' => 'phpinfo']) ?></div>

<?php
echo $this->render('panels/config/table', [
'caption' => 'Application Configuration',
Expand Down Expand Up @@ -37,4 +35,6 @@
'Memcache' => $panel->data['php']['memcache'] ? 'Enabled' : 'Disabled',
],
]);

echo $panel->getPhpInfo();
?>

0 comments on commit c998461

Please sign in to comment.