summaryrefslogtreecommitdiff
path: root/main/php_variables.c
diff options
context:
space:
mode:
authorMichael Wallner <mike@php.net>2013-12-10 15:35:41 +0100
committerMichael Wallner <mike@php.net>2013-12-30 14:28:43 +0100
commit4797f7ad16bc65bda9dca10232c8e0c62a6830ea (patch)
treee5fd82e85bfa536422d767f5368ccfa142d057d1 /main/php_variables.c
parent729f85fad797e31bec1188441049fe525aa78f70 (diff)
downloadphp-git-4797f7ad16bc65bda9dca10232c8e0c62a6830ea.tar.gz
Add E_DEPRECATED when populating $HTTP_RAW_POST_DATA
Diffstat (limited to 'main/php_variables.c')
-rw-r--r--main/php_variables.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main/php_variables.c b/main/php_variables.c
index ab9aee3ae3..9e2675624b 100644
--- a/main/php_variables.c
+++ b/main/php_variables.c
@@ -734,7 +734,6 @@ static zend_bool php_auto_globals_create_post(const char *name, uint name_len TS
if (PG(variables_order) &&
(strchr(PG(variables_order),'P') || strchr(PG(variables_order),'p')) &&
- !SG(headers_sent) &&
SG(request_info).request_method &&
!strcasecmp(SG(request_info).request_method, "POST")) {
sapi_module.treat_data(PARSE_POST, NULL, NULL TSRMLS_CC);