mirror of
https://github.com/friendica/friendica
synced 2025-04-24 23:10:11 +00:00
Move phpinfo module to src/Module/Admin
This commit is contained in:
parent
ad02fd140a
commit
fa4b42c6dd
4 changed files with 34 additions and 15 deletions
16
src/Module/Admin/PhpInfo.php
Normal file
16
src/Module/Admin/PhpInfo.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
namespace Friendica\Module\Admin;
|
||||
|
||||
use Friendica\Module\BaseAdminModule;
|
||||
|
||||
class PhpInfo extends BaseAdminModule
|
||||
{
|
||||
public static function rawContent()
|
||||
{
|
||||
parent::rawContent();
|
||||
|
||||
phpinfo();
|
||||
exit();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue