diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2010-04-21 01:27:22 (GMT) |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2010-04-21 01:27:22 (GMT) |
commit | febee112850af0e56a57e2b38c9043c07dc99465 (patch) | |
tree | 42888ff0eb0f99d65dddeea4b1b0f5e161906ee0 /sapi/apache_hooks/mod_php5.c | |
parent | bae9248602dc16b90db44473c903fbf539793aa7 (diff) | |
download | php-febee112850af0e56a57e2b38c9043c07dc99465.tar.gz |
Removed register_globals
Diffstat (limited to 'sapi/apache_hooks/mod_php5.c')
-rw-r--r-- | sapi/apache_hooks/mod_php5.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sapi/apache_hooks/mod_php5.c b/sapi/apache_hooks/mod_php5.c index 33d2096..aaedb69 100644 --- a/sapi/apache_hooks/mod_php5.c +++ b/sapi/apache_hooks/mod_php5.c @@ -403,9 +403,6 @@ static void sapi_apache_register_server_variables(zval *track_vars_array TSRMLS_ /* If PATH_TRANSLATED doesn't exist, copy it from SCRIPT_FILENAME */ if (track_vars_array) { symbol_table = track_vars_array->value.ht; - } else if (PG(register_globals)) { - /* should never happen nowadays */ - symbol_table = EG(active_symbol_table); } else { symbol_table = NULL; } |