aboutsummaryrefslogtreecommitdiff
path: root/p/api/greader.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre.alapetite@alexandra.dk> 2017-06-14 11:04:00 +0200
committerGravatar Alexandre Alapetite <alexandre.alapetite@alexandra.dk> 2017-06-14 11:04:00 +0200
commit8af80091c74bfc406839bf5b7ed28c143fda2d5e (patch)
treedd951f2ee2caa0482109214694af034a927c7a60 /p/api/greader.php
parente3d76d612c4ada28cc839f67c23b4dcd52b39d08 (diff)
file_get_contents fix
PHP 7.1 https://github.com/FreshRSS/FreshRSS/issues/1584
Diffstat (limited to 'p/api/greader.php')
-rw-r--r--p/api/greader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/greader.php b/p/api/greader.php
index e1f4202a7..262f9d0fa 100644
--- a/p/api/greader.php
+++ b/p/api/greader.php
@@ -23,7 +23,7 @@ Server-side API compatible with Google Reader API layer 2
require('../../constants.php');
require(LIB_PATH . '/lib_rss.php'); //Includes class autoloader
-$ORIGINAL_INPUT = file_get_contents('php://input', false, null, -1, 1048576);
+$ORIGINAL_INPUT = file_get_contents('php://input', false, null, 0, 1048576);
if (PHP_INT_SIZE < 8) { //32-bit
function dec2hex($dec) {