tmhOAuth.php (65) -> curl_cainfo ISSUE #80

whallz opened this Issue Sep 15, 2012 · 3 comments


None yet
3 participants

whallz commented Sep 15, 2012

'curl_cainfo' => dirname(FILE) . '/cacert.pem',

should be

'curl_cainfo' => dirname(FILE) . DIRECTORY_SEPARATOR . 'cacert.pem',

for windows environments.


@ghost ghost assigned themattharris Oct 27, 2012


themattharris commented Oct 27, 2012

thanks - yeah multi-environment support is a good thing. i'll get this in the next release.

rasa commented Nov 1, 2012

That's not true. Windows works just fine with forward slashes.


themattharris commented Nov 1, 2012

maybe, i'll still switch to the internal constant

themattharris added a commit that referenced this issue Nov 1, 2012

Version 0.7.2
- use DIRECTORY_SEPARATOR for multi-environment support. (Issue #80) Props: whallz
- tidied up the curlHeader function to use explode instead of substr and store the keys in the format they are returned from the API
- removed content-length hack as it isn't needed if CURLOPT_POSTFIELDS is initialized on all POSTs
- removed the expects header hack as Twitter no longer requires it to be there
- introduce composer.json. (Issues #39, #77, #85) Props: akandels, conradkleinespel, dguyon, kud, philsturgeon, willdurand
- added support for specifying custom headers when using $tmhOAuth->request. (Issue #98)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment