From: Michael Vogel Date: Thu, 27 Jun 2013 20:27:59 +0000 (+0200) Subject: Complete oStatus conversations: Changed from file_get_contents to fetch_url X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=edf8bde58107afbb8a2395ac8021a4dbcc73cd5f;p=friendica.git Complete oStatus conversations: Changed from file_get_contents to fetch_url --- diff --git a/include/ostatus_conversation.php b/include/ostatus_conversation.php index 480506a06d..1185c01f95 100644 --- a/include/ostatus_conversation.php +++ b/include/ostatus_conversation.php @@ -81,7 +81,9 @@ function complete_conversation($itemid, $conversation_url, $only_add_conversatio logger('complete_conversation: fetching conversation url '.$conv.' for '.$itemid); do { - $conv_as = file_get_contents($conv."?page=".$pageno); + $conv_as = fetch_url($conv."?page=".$pageno); + //$conv_as = fetch_url($conv."?page=".$pageno, false, 0, 10); + //$conv_as = file_get_contents($conv."?page=".$pageno); $conv_as = str_replace(',"statusnet:notice_info":', ',"statusnet_notice_info":', $conv_as); $conv_as = json_decode($conv_as);