From d6bd90a8010a196b120f0a2a5639f64c8ebee568 Mon Sep 17 00:00:00 2001 From: Jonas Östanbäck Date: Tue, 9 May 2017 14:43:37 +0200 Subject: Add syslog_enabled when creating new simplepie_file --- lib/SimplePie/SimplePie.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/SimplePie/SimplePie.php') diff --git a/lib/SimplePie/SimplePie.php b/lib/SimplePie/SimplePie.php index 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) { -- cgit v1.2.3 From e825822ba0ba686fb3122026a4be8f1510cff8fa Mon Sep 17 00:00:00 2001 From: Jonas Östanbäck Date: Tue, 9 May 2017 19:16:57 +0200 Subject: Add syslog_enabled in one more file create call --- lib/SimplePie/SimplePie.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/SimplePie/SimplePie.php') diff --git a/lib/SimplePie/SimplePie.php b/lib/SimplePie/SimplePie.php index 2796cf090..ec3ef1c77 100644 --- a/lib/SimplePie/SimplePie.php +++ b/lib/SimplePie/SimplePie.php @@ -1633,7 +1633,7 @@ class SimplePie $headers = array( 'Accept' => 'application/atom+xml, application/rss+xml, application/rdf+xml;q=0.9, application/xml;q=0.8, text/xml;q=0.8, text/html;q=0.7, unknown/unknown;q=0.1, application/unknown;q=0.1, */*;q=0.1', ); - $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 the file connection has an error, set SimplePie::error to that and quit -- cgit v1.2.3