Skip to content

Commit

Permalink
Merge pull request #2 from lostcodder/master
Browse files Browse the repository at this point in the history
SSL верификация без сертификата не нужна, плюс без этих двух строчек …
  • Loading branch information
StacoNiK authored Sep 4, 2017
2 parents 987fbbc + 70b7dca commit f985482
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/VKApi/Util/HttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ public function __construct()
curl_setopt($this->ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($this->ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($this->ch, CURLOPT_POST, false);
curl_setopt($this->ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($this->ch, CURLOPT_SSL_VERIFYPEER, false);
}

/**
Expand Down

0 comments on commit f985482

Please sign in to comment.