|
@@ 675-679 (lines=5) @@
|
| 672 |
|
// Perform the query (or pass the info to the functions that actually do perform the query) |
| 673 |
|
|
| 674 |
|
$response = ''; |
| 675 |
|
if ($this->http_client == 'curl') { |
| 676 |
|
$response = $this->curl_query($url, $args, $authstr); |
| 677 |
|
} elseif ($this->http_client == 'fopen') { |
| 678 |
|
$response = $this->fopen_query($url, $args, $authstr); |
| 679 |
|
} |
| 680 |
|
|
| 681 |
|
// fix #1 |
| 682 |
|
$aMatch = array(); |
|
@@ 693-697 (lines=5) @@
|
| 690 |
|
error_log('new URL: ' . $url); |
| 691 |
|
} |
| 692 |
|
|
| 693 |
|
if ($this->http_client == 'curl') { |
| 694 |
|
$response = $this->curl_query($url, $args, $authstr); |
| 695 |
|
} elseif ($this->http_client == 'fopen') { |
| 696 |
|
$response = $this->fopen_query($url, $args, $authstr); |
| 697 |
|
} |
| 698 |
|
} |
| 699 |
|
// --- |
| 700 |
|
|