Commit c9984617 by Tobias Munk

added parsed phpinfo to config detail, removed controller action

parent 61cb4447
...@@ -87,10 +87,6 @@ class DefaultController extends Controller ...@@ -87,10 +87,6 @@ class DefaultController extends Controller
]); ]);
} }
public function actionPhpinfo()
{
phpinfo();
}
private $_manifest; private $_manifest;
......
...@@ -8,8 +8,6 @@ $extensions = $panel->getExtensions(); ...@@ -8,8 +8,6 @@ $extensions = $panel->getExtensions();
?> ?>
<h1>Configuration</h1> <h1>Configuration</h1>
<div><?= Html::a('Show phpinfo() »', ['phpinfo'], ['class' => 'btn btn-info', 'target' => 'phpinfo']) ?></div>
<?php <?php
echo $this->render('panels/config/table', [ echo $this->render('panels/config/table', [
'caption' => 'Application Configuration', 'caption' => 'Application Configuration',
...@@ -37,4 +35,6 @@ echo $this->render('panels/config/table', [ ...@@ -37,4 +35,6 @@ echo $this->render('panels/config/table', [
'Memcache' => $panel->data['php']['memcache'] ? 'Enabled' : 'Disabled', 'Memcache' => $panel->data['php']['memcache'] ? 'Enabled' : 'Disabled',
], ],
]); ]);
echo $panel->getPhpInfo();
?> ?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment