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:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user