' . "\n"
. ($cfg['MainPageIconic'] ? '' : '' )
. '' . $strServerVars . "\n"
. '' . "\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
*/
if (PMA_MYSQL_INT_VERSION >= 40003) {
$res = PMA_DBI_query('SHOW SESSION VARIABLES;');
while ($row = PMA_DBI_fetch_row($res)) {
$serverVars[$row[0]] = $row[1];
}
PMA_DBI_free_result($res);
unset($res, $row);
$res = PMA_DBI_query('SHOW GLOBAL VARIABLES;');
while ($row = PMA_DBI_fetch_row($res)) {
$serverVarsGlobal[$row[0]] = $row[1];
}
PMA_DBI_free_result($res);
unset($res, $row);
} else {
$res = PMA_DBI_query('SHOW VARIABLES;');
while ($row = PMA_DBI_fetch_row($res)) {
$serverVars[$row[0]] = $row[1];
}
PMA_DBI_free_result($res);
unset($res, $row);
}
unset($res);
unset($row);
/**
* Displays the page
*/
?>
'; if (PMA_MYSQL_INT_VERSION >= 40003) { echo $strSessionValue . ' ' . "\n" . ' | ' . $strGlobalValue; } else { echo $strValue; } echo ' | ' . "\n"; ?>|
---|---|---|
= 40003) { ?> |