HS 2.0R2: No longer use HTTP_RAW_POST_DATA
As HTTP_RAW_POST_DATA is deprecated, use php://input instead. Signed-off-by: Cedric Izoard <cedric.izoard@ceva-dsp.com>
This commit is contained in:
parent
04c18fa04b
commit
a9c52e8066
1 changed files with 2 additions and 1 deletions
|
@ -96,7 +96,8 @@ else
|
||||||
putenv("HS20USER");
|
putenv("HS20USER");
|
||||||
|
|
||||||
putenv("HS20REALM=$realm");
|
putenv("HS20REALM=$realm");
|
||||||
putenv("HS20POST=$HTTP_RAW_POST_DATA");
|
$postdata = file_get_contents("php://input");
|
||||||
|
putenv("HS20POST=$postdata");
|
||||||
$addr = $_SERVER["REMOTE_ADDR"];
|
$addr = $_SERVER["REMOTE_ADDR"];
|
||||||
putenv("HS20ADDR=$addr");
|
putenv("HS20ADDR=$addr");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue