diff options
Diffstat (limited to 'lib/lib_rss.php')
| -rw-r--r-- | lib/lib_rss.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index aaa644faf..d734f722c 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -187,6 +187,11 @@ function customSimplePie($attributes = array()) { $curl_options[CURLOPT_SSL_CIPHER_LIST] = 'DEFAULT@SECLEVEL=1'; } } + if (!empty($attributes['curl_params']) && is_array($attributes['curl_params'])) { + foreach ($attributes['curl_params'] as $co => $v) { + curl_setopt($ch, $co, $v); + } + } $simplePie->set_curl_options($curl_options); $simplePie->strip_comments(true); |
