af_unburn: set useragent
This commit is contained in:
parent
8055097ca2
commit
389859b5d4
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ class Af_Unburn extends Plugin {
|
|||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
curl_setopt($ch, CURLOPT_HEADER, true);
|
||||
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
|
||||
curl_setopt($ch, CURLOPT_USERAGENT, SELF_USER_AGENT);
|
||||
|
||||
$contents = @curl_exec($ch);
|
||||
|
||||
|
|
Loading…
Reference in a new issue