Files
phpmyadmin/phpinfo.php3
Loïc Chapeaux 476ef78631 * extended last fix from Robin to the "MySQL runtime information" and "MySQL system variables" links;
* but allowed these directives to be bypassed for super-users
2001-11-09 07:54:05 +00:00

20 lines
315 B
PHP

<?php
/* $Id$ */
/**
* Gets core libraries and defines some variables
*/
require('./libraries/grab_globals.lib.php3');
require('./libraries/common.lib.php3');
/**
* Displays PHP information
*/
$is_superuser = @mysql_query('USE mysql', $userlink);
if ($is_superuser || $cfgShowPhpInfo) {
phpinfo();
}
?>