diff options
Diffstat (limited to 'app/classes/Planet.php')
-rw-r--r-- | app/classes/Planet.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/classes/Planet.php b/app/classes/Planet.php index aa323ee..39b55f6 100644 --- a/app/classes/Planet.php +++ b/app/classes/Planet.php @@ -181,6 +181,13 @@ class Planet $this->errors[] = new PlanetError(1, 'Forced from cache : '.$feed->getFeed()); } + if ($this->config->checkcerts === false) { + $feed->set_curl_options([ + CURLOPT_SSL_VERIFYHOST => false, + CURLOPT_SSL_VERIFYPEER => false + ]); + } + //Load feed $feed->init(); $isDown = ''; |