From 8af80091c74bfc406839bf5b7ed28c143fda2d5e Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 14 Jun 2017 11:04:00 +0200 Subject: file_get_contents fix PHP 7.1 https://github.com/FreshRSS/FreshRSS/issues/1584 --- p/api/pshb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'p/api/pshb.php') 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)); -- cgit v1.2.3