summaryrefslogtreecommitdiff
path: root/main/php_globals.h
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2001-07-17 16:46:07 +0000
committerRasmus Lerdorf <rasmus@php.net>2001-07-17 16:46:07 +0000
commit9bc97ac865c74495622d4d71c3a84c9d65c8baf7 (patch)
tree3fa189505f3ee927900bd63c05494ad55a55931d /main/php_globals.h
parent6bd084cb0af39bf4a246c93aa0d8d8e0d280e455 (diff)
downloadphp-git-9bc97ac865c74495622d4d71c3a84c9d65c8baf7.tar.gz
Add always_populate_raw_post_data ini directive and default it to 0 to
maintain current behaviour. If this is turned on then $HTTP_RAW_POST_DATA is always populated with a copy of the raw post data. @ - Add config option (always_populate_raw_post_data) which when enabled @ will always populate $HTTP_RAW_POST_DATA regardless of the post mime @ type (Rasmus)
Diffstat (limited to 'main/php_globals.h')
-rw-r--r--main/php_globals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php_globals.h b/main/php_globals.h
index 56de68d7e1..bdcf3acc60 100644
--- a/main/php_globals.h
+++ b/main/php_globals.h
@@ -136,6 +136,8 @@ struct _php_core_globals {
zend_bool during_request_startup;
zend_bool allow_url_fopen;
+
+ zend_bool always_populate_raw_post_data;
};