commit 545906864b4724801dec9c7cc18b15e265087b4e
parent cf29a4383ae41d24f3d6e360ffa9f87aa5a5bd94
Author: markseu <mark2011@mayberg.se>
Date: Wed, 28 Oct 2020 11:14:04 +0100
Updated installation with self-signed certificate
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/system/extensions/install.php b/system/extensions/install.php
@@ -2,7 +2,7 @@
// Install extension, https://github.com/datenstrom/yellow
class YellowInstall {
- const VERSION = "0.8.39";
+ const VERSION = "0.8.40";
const PRIORITY = "1";
public $yellow; // access to API
@@ -263,6 +263,7 @@ class YellowInstall {
curl_setopt($curlHandle, CURLOPT_USERAGENT, "Mozilla/5.0 (compatible; YellowCore/".YellowCore::VERSION).")";
curl_setopt($curlHandle, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curlHandle, CURLOPT_CONNECTTIMEOUT, 30);
+ curl_setopt($curlHandle, CURLOPT_SSL_VERIFYPEER, false);
$rawData = curl_exec($curlHandle);
$statusCode = curl_getinfo($curlHandle, CURLINFO_HTTP_CODE);
curl_close($curlHandle);