This commit is contained in:
Zach Borboa
2016-09-02 00:43:41 -07:00
parent 25a764fcb0
commit 75a944dd90
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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',
+2 -2
View File
@@ -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);