bugfixes
This commit is contained in:
@@ -4,14 +4,10 @@
|
||||
|
||||
|
||||
/**
|
||||
* Gets some core libraries
|
||||
* Does the common work
|
||||
*/
|
||||
if (!defined('PMA_GRAB_GLOBALS_INCLUDED')) {
|
||||
include('./libraries/grab_globals.lib.php3');
|
||||
}
|
||||
if (!defined('PMA_COMMON_LIB_INCLUDED')) {
|
||||
include('./libraries/common.lib.php3');
|
||||
}
|
||||
require('./server_common.inc.php3');
|
||||
|
||||
|
||||
/**
|
||||
* Kills a selected process
|
||||
@@ -25,16 +21,13 @@ if (!empty($kill)) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Does the common work
|
||||
*/
|
||||
require('./server_common.inc.php3');
|
||||
|
||||
/**
|
||||
* Displays the links
|
||||
*/
|
||||
require('./server_links.inc.php3');
|
||||
|
||||
|
||||
/**
|
||||
* Displays the sub-page heading
|
||||
*/
|
||||
@@ -42,6 +35,7 @@ echo '<h2>' . "\n"
|
||||
. ' ' . $strProcesslist . "\n"
|
||||
. '</h2>' . "\n";
|
||||
|
||||
|
||||
/**
|
||||
* Checks if the user is allowed to do what he tries to...
|
||||
*/
|
||||
@@ -51,6 +45,7 @@ if (!$is_superuser && !$cfg['ShowMysqlVars']) {
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sends the query and buffers the result
|
||||
*/
|
||||
@@ -63,6 +58,7 @@ while ($row = PMA_mysql_fetch_array($res, MYSQL_ASSOC)) {
|
||||
unset($res);
|
||||
unset($row);
|
||||
|
||||
|
||||
/**
|
||||
* Displays the page
|
||||
*/
|
||||
@@ -103,6 +99,7 @@ while (list($name, $value) = each($serverProcesses)) {
|
||||
</table>
|
||||
<?php
|
||||
|
||||
|
||||
/**
|
||||
* Sends the footer
|
||||
*/
|
||||
|
Reference in New Issue
Block a user