From 357ad35d52e8e9ff3d920f86d448127b2f95bece Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 6 Oct 2008 21:41:45 +0000 Subject: Do not verify SSL peer cert --- packages/autoconfigbackup/autoconfigbackup.php | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php index 65efa7fb..9369858c 100644 --- a/packages/autoconfigbackup/autoconfigbackup.php +++ b/packages/autoconfigbackup/autoconfigbackup.php @@ -85,6 +85,7 @@ if($_GET['newver'] != "") { curl_setopt($curl_Session, CURLOPT_POST, 1); curl_setopt($curl_Session, CURLOPT_POSTFIELDS, "action=showbackups"); curl_setopt($curl_Session, CURLOPT_FOLLOWLOCATION, 1); + curl_setopt($curl_session, CURLOPT_SSL_VERIFYPEER, 0); $data = curl_exec($curl_Session); curl_close($curl_Session); } -- cgit v1.2.3