diff options
| author | 2017-06-14 11:04:00 +0200 | |
|---|---|---|
| committer | 2017-06-14 11:04:00 +0200 | |
| commit | 8af80091c74bfc406839bf5b7ed28c143fda2d5e (patch) | |
| tree | dd951f2ee2caa0482109214694af034a927c7a60 /p/api/pshb.php | |
| parent | e3d76d612c4ada28cc839f67c23b4dcd52b39d08 (diff) | |
file_get_contents fix
PHP 7.1 https://github.com/FreshRSS/FreshRSS/issues/1584
Diffstat (limited to 'p/api/pshb.php')
| -rw-r--r-- | p/api/pshb.php | 2 |
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)); |
