14 lines
137 B
PHP
14 lines
137 B
PHP
<?php
|
|
/**
|
|
* @file mod/phpinfo.php
|
|
*/
|
|
|
|
function phpinfo_content()
|
|
{
|
|
if (!is_site_admin()) {
|
|
return false;
|
|
}
|
|
|
|
phpinfo();
|
|
exit();
|
|
}
|