summaryrefslogtreecommitdiff
path: root/includes/bootstrap.inc
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-05-04 09:28:32 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-05-04 09:28:32 +0000
commitfc02bfed53bc2549b3a7e889a610b6be4c522935 (patch)
tree6695fb4c8ecb27840f1be34adf670cbd0829a4f4 /includes/bootstrap.inc
parent781880deaa20f3e84ca6c78d963984c5b2573583 (diff)
downloadbrdo-fc02bfed53bc2549b3a7e889a610b6be4c522935.tar.gz
brdo-fc02bfed53bc2549b3a7e889a610b6be4c522935.tar.bz2
#61368 by chx, don't unset the global globals array.
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r--includes/bootstrap.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 14b0e7907..413c863e9 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -136,7 +136,7 @@ function conf_path() {
*/
function drupal_unset_globals() {
if (ini_get('register_globals')) {
- $allowed = array('_ENV' => 1, '_GET' => 1, '_POST' => 1, '_COOKIE' => 1, '_FILES' => 1, '_SERVER' => 1, '_REQUEST' => 1, 'access_check' => 1);
+ $allowed = array('_ENV' => 1, '_GET' => 1, '_POST' => 1, '_COOKIE' => 1, '_FILES' => 1, '_SERVER' => 1, '_REQUEST' => 1, 'access_check' => 1, 'GLOBALS' => 1);
foreach ($GLOBALS as $key => $value) {
if (!isset($allowed[$key])) {
unset($GLOBALS[$key]);