mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 13:09:21 +03:00
Remove phpinfo()
This commit is contained in:
parent
3d9b3334ee
commit
7b03ae5ed8
6 changed files with 1 additions and 44 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -130,10 +130,6 @@
|
|||
|
||||
<span data-bind="text: uploadDataDesc"></span>
|
||||
</span>
|
||||
|
||||
<a href="#" target="_blank" class="btn btn-thin" data-bind="link: phpInfoLink()">
|
||||
<i class="icon-info"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue