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
|
@ -1,14 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* @file mod/phpinfo.php
|
||||
*/
|
||||
|
||||
function phpinfo_content()
|
||||
{
|
||||
if (!is_site_admin()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
phpinfo();
|
||||
exit();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue