A free, self-hostable news aggregator…
Add syslog_enabled when creating new simplepie_file
Jonas Östanbäckd6bd90a8010a
diff --git a/lib/SimplePie/SimplePie.php b/lib/SimplePie/SimplePie.phpindex 7240fdf66..2796cf090 100644--- a/lib/SimplePie/SimplePie.php+++ b/lib/SimplePie/SimplePie.php@@ -1579,7 +1579,7 @@ class SimplePie$headers['if-none-match'] = $this->data['headers']['etag'];}- $file = $this->registry->create('File', array($this->feed_url, $this->timeout, 5, $headers, $this->useragent, $this->force_fsockopen, $this->curl_options));+ $file = $this->registry->create('File', array($this->feed_url, $this->timeout, 5, $headers, $this->useragent, $this->force_fsockopen, $this->curl_options, $this->syslog_enabled));if ($file->success){