summaryrefslogtreecommitdiff
path: root/includes/bootstrap.inc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-09-09 19:46:54 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-09-09 19:46:54 +0000
commit470b2e374e59abb186b2c806b1542ca0ebf0ad8c (patch)
treede2c16f829c0b3dce0627c00251b12a3fa01c8f5 /includes/bootstrap.inc
parent4a347be7ed2b6afa6e18ad87a0f78e4558e1e0b7 (diff)
downloadbrdo-470b2e374e59abb186b2c806b1542ca0ebf0ad8c.tar.gz
brdo-470b2e374e59abb186b2c806b1542ca0ebf0ad8c.tar.bz2
#172262 by JirkaRybka: better globals handling in install system, so the choosen profile and language are remembered
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 dc9cbfc0b..02b300114 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -257,7 +257,7 @@ function conf_path($require_settings = TRUE, $reset = FALSE) {
*/
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, 'GLOBALS' => 1);
+ $allowed = array('_ENV' => 1, '_GET' => 1, '_POST' => 1, '_COOKIE' => 1, '_FILES' => 1, '_SERVER' => 1, '_REQUEST' => 1, 'GLOBALS' => 1);
foreach ($GLOBALS as $key => $value) {
if (!isset($allowed[$key])) {
unset($GLOBALS[$key]);