mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-09-20 18:20:18 -04:00
Correction bug problème de certificat SSL non valide
This commit is contained in:
1 parent
0f2891f432
commit
1949c87023
1 file changed
+1
@@ -4269,6 +4269,7 @@ class SimplePie_File
|
||||
curl_setopt($fp, CURLOPT_REFERER, $url);
|
||||
curl_setopt($fp, CURLOPT_USERAGENT, $useragent);
|
||||
curl_setopt($fp, CURLOPT_HTTPHEADER, $headers2);
|
||||
curl_setopt($fp, CURLOPT_SSL_VERIFYPEER, 0);
|
||||
if (!ini_get('open_basedir') && !ini_get('safe_mode') && version_compare(SimplePie_Misc::get_curl_version(), '7.15.2', '>='))
|
||||
{
|
||||
curl_setopt($fp, CURLOPT_FOLLOWLOCATION, 1);
|
||||
|
||||
Reference in new issue
Block a user