Created
March 15, 2013 20:18
-
-
Save brianr/5172812 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/rollbar.php b/rollbar.php | |
index d36a09c..d392102 100644 | |
--- a/rollbar.php | |
+++ b/rollbar.php | |
@@ -663,6 +663,9 @@ class RollbarNotifier { | |
$url = $this->base_api_url . $action . '/'; | |
$ch = curl_init(); | |
+ curl_setopt($ch, CURLOPT_VERBOSE, true); | |
+ // add the following only if on php 5.3.2 or higher | |
+ curl_setopt($ch, CURLOPT_CERTINFO, true); | |
curl_setopt($ch, CURLOPT_URL, $url); | |
curl_setopt($ch, CURLOPT_POST, true); | |
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment