Skip to content

Conversation

@dereuromark
Copy link

Prevent the following issue, e.g. locally:

SSL certificate problem: unable to get local issuer certificate

which is a curl issue with SSL

Also fixed wrong doc blocks.

curl_setopt($this->handler, CURLOPT_POST, true);
curl_setopt($this->handler, CURLOPT_POSTFIELDS, http_build_query($parameters));

curl_setopt($this->handler, CURLOPT_SSL_VERIFYPEER, false);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add this as option. Add $options variable to constructor.
Also this should be disabled by default

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine by me.
But this is just translations, IMO.
I will Patch this later as by your feedback.

@dereuromark
Copy link
Author

Done :)

@dereuromark
Copy link
Author

@nkt All good?

@dereuromark
Copy link
Author

ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants