No longer depend on grab_globals.lib.php for $_GET variables
This commit is contained in:
parent
ad7f2f283c
commit
1c50bea438
@ -8,6 +8,18 @@ if (! defined('PHPMYADMIN')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if (isset($_REQUEST['table_type'])) {
|
||||
$GLOBALS['table_type'] = $_REQUEST['table_type'];
|
||||
}
|
||||
|
||||
if (isset($_REQUEST['selected_fld'])) {
|
||||
$GLOBALS['selected_fld'] = $_REQUEST['selected_fld'];
|
||||
}
|
||||
|
||||
if (isset($_REQUEST['submit_mult'])) {
|
||||
$GLOBALS['submit_mult'] = $_REQUEST['submit_mult'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepares the work and runs some other scripts if required
|
||||
*/
|
||||
|
||||
@ -16,6 +16,10 @@ require_once './libraries/common.inc.php';
|
||||
|
||||
require_once './libraries/header.inc.php';
|
||||
|
||||
if (isset($_REQUEST['field'])) {
|
||||
$GLOBALS['field'] = $_REQUEST['field'];
|
||||
}
|
||||
|
||||
// Check parameters
|
||||
PMA_checkParameters(array('db', 'table'));
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user