]> git.wh0rd.org - tt-rss.git/commitdiff
Don't verify SSL peers in geturl
authorRob Hoelz <rob@hoelz.ro>
Wed, 29 May 2013 18:55:22 +0000 (20:55 +0200)
committerRob Hoelz <rob@hoelz.ro>
Wed, 29 May 2013 18:55:22 +0000 (20:55 +0200)
include/functions.php

index 2b7f9ac5913bb5fc509dafed18013ca74465829e..8dc109f993924fc1d624ab52e822b038150f7397 100644 (file)
                curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
                //curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); //CURLOPT_FOLLOWLOCATION Disabled...
                curl_setopt($curl, CURLOPT_TIMEOUT, 60);
+               curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
 
                $html = curl_exec($curl);