From ed9825e360bfdad07c30ab7eefcbc89fe1be502c Mon Sep 17 00:00:00 2001 From: Miron Date: Thu, 6 Mar 2014 21:48:27 +0300 Subject: [PATCH] Fix CURLOPT_USERAGENT define --- test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.php b/test.php index 57009fc..922062d 100755 --- a/test.php +++ b/test.php @@ -101,7 +101,7 @@ function on_request_done($content, $url, $ch, $search) { $curl_options = array( CURLOPT_SSL_VERIFYPEER => FALSE, CURLOPT_SSL_VERIFYHOST => FALSE, - CURLOPT_USERAGENT, 'Parallel Curl test script', + CURLOPT_USERAGENT => 'Parallel Curl test script', ); $parallel_curl = new ParallelCurl($max_requests, $curl_options); @@ -116,4 +116,4 @@ function on_request_done($content, $url, $ch, $search) { // This will automatically run on destruct of the ParallelCurl object, so the next line is optional. $parallel_curl->finishAllRequests(); -?> \ No newline at end of file +?>