Remove phpinfo()

This commit is contained in:
djmaze 2020-05-07 09:24:02 +02:00
parent 3d9b3334ee
commit 7b03ae5ed8
6 changed files with 1 additions and 44 deletions

View file

@ -753,17 +753,6 @@ class ServiceActions
return 'Pong';
}
public function ServiceInfo() : string
{
$this->oHttp->ServerNoCache();
if ($this->oActions->IsAdminLoggined(false))
{
\header('Content-Type: text/html; charset=utf-8');
\phpinfo();
}
}
public function ServiceSso() : string
{
$this->oHttp->ServerNoCache();

View file

@ -130,10 +130,6 @@
 
<span data-bind="text: uploadDataDesc"></span>
</span>
&nbsp;&nbsp;&nbsp;
<a href="#" target="_blank" class="btn btn-thin" data-bind="link: phpInfoLink()">
<i class="icon-info"></i>
</a>
</div>
</div>
<br />

View file

@ -66,11 +66,6 @@
}"></div>
</div>
</div>
<div class="control-group">
<div class="controls">
<a href="#" target="_blank" class="g-ui-link" data-bind="link: phpInfoLink()" data-i18n="TAB_SECURITY/LABEL_SHOW_PHP_INFO"></a>
</div>
</div>
</div>
<br />
<div class="form-horizontal">
@ -140,4 +135,4 @@
</div>
</div>
</div>
</div>
</div>