mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 20:20:53 +00:00
Clean up
This commit is contained in:
@@ -3,7 +3,7 @@ require __DIR__ . '/vendor/autoload.php';
|
||||
|
||||
use \Curl\Curl;
|
||||
|
||||
const FLICKR_API_KEY = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX');
|
||||
const FLICKR_API_KEY = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
|
||||
|
||||
$data = array(
|
||||
'method' => 'flickr.photos.search',
|
||||
|
||||
@@ -522,12 +522,12 @@ class MultiCurl
|
||||
return;
|
||||
}
|
||||
|
||||
$this->isStarted = true;
|
||||
|
||||
foreach ($this->curls as $ch) {
|
||||
$this->initHandle($ch);
|
||||
}
|
||||
|
||||
$this->isStarted = true;
|
||||
|
||||
do {
|
||||
curl_multi_select($this->multiCurl);
|
||||
curl_multi_exec($this->multiCurl, $active);
|
||||
|
||||
Reference in New Issue
Block a user