diff options
author | CJ <chern.jie@mig33global.com> | 2013-04-17 05:59:22 +0200 |
---|---|---|
committer | CJ <chern.jie@mig33global.com> | 2013-04-17 05:59:22 +0200 |
commit | c5c522a069cc504509955890aacd55b97979043b (patch) | |
tree | 87393a50463f151cf3a6a0022fb34d131dfcd4ae | |
parent | d195f224db31644eaaef4b4cb4713d9af5f57ead (diff) |
#2409: Force Content Type to go through camelization;
-rw-r--r-- | system/core/Input.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Input.php b/system/core/Input.php index 6b7d5bd43..ff0bbe060 100644 --- a/system/core/Input.php +++ b/system/core/Input.php @@ -802,7 +802,7 @@ class CI_Input { return $this->headers = apache_request_headers(); } - $this->headers['CONTENT_TYPE'] = isset($_SERVER['CONTENT_TYPE']) ? $_SERVER['CONTENT_TYPE'] : @getenv('CONTENT_TYPE'); + $_SERVER['HTTP_CONTENT_TYPE'] = isset($_SERVER['CONTENT_TYPE']) ? $_SERVER['CONTENT_TYPE'] : @getenv('CONTENT_TYPE'); foreach ($_SERVER as $key => $val) { |