mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 22:47:03 +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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue