Skip to content

Commit ee804fc

Browse files
committed
Merge pull request ktamas77#27 from MiniCodeMonkey/patch-1
Follow HTTP redirects
2 parents 31ab40d + 886c8df commit ee804fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/firebaseLib.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ private function _getCurlHandler($path, $mode)
197197
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
198198
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
199199
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $mode);
200+
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
200201
return $ch;
201202
}
202203

0 commit comments

Comments
 (0)