Drop $cfg['ShowMysqlInfo'] and $cfg['ShowMysqlVars'] and show info in all cases. Drop $is_superuser condition from showing php info.

This commit is contained in:
Michal Čihař
2005-11-13 21:04:50 +00:00
parent 191b1150c7
commit 72ca7ecf9a
7 changed files with 18 additions and 67 deletions

View File

@@ -24,15 +24,6 @@ echo '<h2>' . "\n"
. '</h2>' . "\n";
/**
* Checks if the user is allowed to do what he tries to...
*/
if (!$is_superuser && !$cfg['ShowMysqlVars']) {
echo $strNoPrivileges;
require_once('./footer.inc.php');
}
/**
* Sends the queries and buffers the results
*/