From febee112850af0e56a57e2b38c9043c07dc99465 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Wed, 21 Apr 2010 01:27:22 +0000 Subject: Removed register_globals --- sapi/apache_hooks/mod_php5.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'sapi/apache_hooks/mod_php5.c') diff --git a/sapi/apache_hooks/mod_php5.c b/sapi/apache_hooks/mod_php5.c index 33d20969be..aaedb69b80 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; } -- cgit v1.2.1