Skip to content

Commit

Permalink
fixed curl option: CURLOPT_HEADER -> CURLOPT_HTTPHEADER
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoffend committed Jan 28, 2011
1 parent 83dc0d3 commit d31fae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pheal.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public static function request_http_curl($url,$opts)

// curl defaults
curl_setopt(self::$curl, CURLOPT_URL, $url);
curl_setopt(self::$curl, CURLOPT_HEADER, $headers);
curl_setopt(self::$curl, CURLOPT_HTTPHEADER, $headers);
curl_setopt(self::$curl, CURLOPT_RETURNTRANSFER, true);

// call
Expand Down

0 comments on commit d31fae7

Please sign in to comment.