We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd28a73 commit ba8120fCopy full SHA for ba8120f
src/FeedsFactory.php
@@ -102,6 +102,10 @@ protected function configure()
102
$this->simplePie->set_cache_duration($this->config['cache.life']);
103
}
104
105
+ if (isset($this->config['user_agent']) && !empty($this->config['user_agent'])) {
106
+ $this->simplePie->set_useragent($this->config['user_agent']);
107
+ }
108
+
109
if (isset($this->config['curl.options']) && is_array($this->config['curl.options'])) {
110
$curlOptions += $this->config['curl.options'];
111
0 commit comments