Browse Source

Add syslog_enabled in one more file create call

Jonas Östanbäck 9 năm trước cách đây
mục cha
commit
e825822ba0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/SimplePie/SimplePie.php

+ 1 - 1
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