Skip to content

Commit

Permalink
correct user agent
Browse files Browse the repository at this point in the history
  • Loading branch information
oyejorge committed Mar 25, 2016
1 parent a6eb2e4 commit 0083412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/tool/RemoteGet.php
Expand Up @@ -176,7 +176,7 @@ public function stream_request($url,$r){
$arrContext = array();
$arrContext['http'] = array(
'method' => 'GET',
'user_agent' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', //$r['user-agent'],
'user_agent' => $r['user-agent'],
'max_redirects' => $r['redirection'],
'protocol_version' => (float) $r['httpversion'],
'timeout' => $r['timeout'],
Expand Down

0 comments on commit 0083412

Please sign in to comment.