This commit is contained in:
Alexander M. Turek
2003-01-11 12:52:42 +00:00
parent 62bc1a3f15
commit 320c4d6817
7 changed files with 97 additions and 71 deletions

View File

@@ -8,11 +8,13 @@
*/
require('./server_common.inc.php3');
/**
* Displays the links
*/
require('./server_links.inc.php3');
/**
* Displays the sub-page heading
*/
@@ -20,6 +22,7 @@ echo '<h2>' . "\n"
. ' ' . $strServerVars . "\n"
. '</h2>' . "\n";
/**
* Checks if the user is allowed to do what he tries to...
*/
@@ -29,8 +32,9 @@ if (!$is_superuser && !$cfg['ShowMysqlVars']) {
exit;
}
/**
* Sends the queries and buffers the result
* Sends the queries and buffers the results
*/
if (PMA_MYSQL_INT_VERSION >= 40003) {
$res = @PMA_mysql_query('SHOW SESSION VARIABLES;', $userlink) or PMA_mysqlDie(PMA_mysql_error($userlink), 'SHOW SESSION VARIABLES;');
@@ -53,6 +57,7 @@ if (PMA_MYSQL_INT_VERSION >= 40003) {
unset($res);
unset($row);
/**
* Displays the page
*/
@@ -93,6 +98,7 @@ while (list($name, $value) = each($serverVars)) {
</table>
<?php
/**
* Sends the footer
*/