From cb616ca0911406be608f81d008c40bceaa49a8eb Mon Sep 17 00:00:00 2001 From: haimWD Date: Tue, 4 Feb 2014 20:34:01 +0200 Subject: [PATCH] Update parse.php fix error 60 from curl on some shared hosting serverrs --- parse.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parse.php b/parse.php index 554d687..4a3c258 100644 --- a/parse.php +++ b/parse.php @@ -77,6 +77,7 @@ public function request($args){ )); } curl_setopt($c, CURLOPT_CUSTOMREQUEST, $args['method']); + curl_setopt($c, CURLOPT_SSL_VERIFYPEER, false); $url = $this->_parseurl . $args['requestUrl']; if($args['method'] == 'PUT' || $args['method'] == 'POST'){ @@ -217,4 +218,4 @@ public function __toString() { } -?> \ No newline at end of file +?>