Set curlopt to 2, Fixes #4
This commit is contained in:
@@ -9,7 +9,7 @@ function login($usr, $pwd){
|
|||||||
|
|
||||||
curl_setopt($ch, CURLOPT_NOBODY, false);
|
curl_setopt($ch, CURLOPT_NOBODY, false);
|
||||||
curl_setopt($ch, CURLOPT_URL, $url);
|
curl_setopt($ch, CURLOPT_URL, $url);
|
||||||
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1);
|
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
|
||||||
|
|
||||||
$headers = array(
|
$headers = array(
|
||||||
'Content-Type' => 'application/x-www-form-urlencoded',
|
'Content-Type' => 'application/x-www-form-urlencoded',
|
||||||
|
|||||||
Reference in New Issue
Block a user