aboutsummaryrefslogtreecommitdiff
path: root/p/api/pshb.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-06-20 09:11:39 +0200
committerGravatar GitHub <noreply@github.com> 2017-06-20 09:11:39 +0200
commit3e28ca565e4065e805925f63af7dc9f2845e1903 (patch)
tree199709c4e6829ae8299bfb85b4719efac53d6789 /p/api/pshb.php
parente3d76d612c4ada28cc839f67c23b4dcd52b39d08 (diff)
parent9f936b549b466d5dfe415a137572093356647ca2 (diff)
Merge pull request #1585 from Alkarex/file_get_contents-fix
file_get_contents fix
Diffstat (limited to 'p/api/pshb.php')
-rw-r--r--p/api/pshb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/pshb.php b/p/api/pshb.php
index 4b546908a..ed8326cf5 100644
--- a/p/api/pshb.php
+++ b/p/api/pshb.php
@@ -11,7 +11,7 @@ function logMe($text) {
file_put_contents(USERS_PATH . '/_/log_pshb.txt', date('c') . "\t" . $text . "\n", FILE_APPEND);
}
-$ORIGINAL_INPUT = file_get_contents('php://input', false, null, -1, MAX_PAYLOAD);
+$ORIGINAL_INPUT = file_get_contents('php://input', false, null, 0, MAX_PAYLOAD);
//logMe(print_r(array('_SERVER' => $_SERVER, '_GET' => $_GET, '_POST' => $_POST, 'INPUT' => $ORIGINAL_INPUT), true));