This has been fixed in PHP 5.1.0, we support 5.2+.

This commit is contained in:
Michal Čihař
2008-06-02 14:04:29 +00:00
parent 1e29fc466e
commit 00f893361f

View File

@@ -110,17 +110,6 @@ if (!defined('PMA_MINIMUM_COMMON')) {
/******************************************************************************/
/* start procedural code label_start_procedural */
/**
* protect against older PHP versions' bug about GLOBALS overwrite
* (no need to localize this message :))
* but what if script.php?GLOBALS[admin]=1&GLOBALS[_REQUEST]=1 ???
*/
if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS'])
|| isset($_SERVER['GLOBALS']) || isset($_COOKIE['GLOBALS'])
|| isset($_ENV['GLOBALS'])) {
die('GLOBALS overwrite attempt');
}
/**
* protect against possible exploits - there is no need to have so much variables
*/