do not apply magpie timeout override on simplepie
This commit is contained in:
parent
9041f58b24
commit
4148e809d3
|
@ -486,7 +486,7 @@
|
|||
|
||||
$rss = new SimplePie();
|
||||
$rss->set_useragent(SIMPLEPIE_USERAGENT . MAGPIE_USER_AGENT_EXT);
|
||||
$rss->set_timeout(MAGPIE_FETCH_TIME_OUT);
|
||||
// $rss->set_timeout(MAGPIE_FETCH_TIME_OUT);
|
||||
$rss->set_feed_url($fetch_url);
|
||||
$rss->set_output_encoding('UTF-8');
|
||||
|
||||
|
@ -3338,7 +3338,7 @@
|
|||
if (ENABLE_SIMPLEPIE) {
|
||||
$rss = new SimplePie();
|
||||
$rss->set_useragent(SIMPLEPIE_USERAGENT . MAGPIE_USER_AGENT_EXT);
|
||||
$rss->set_timeout(MAGPIE_FETCH_TIME_OUT);
|
||||
// $rss->set_timeout(MAGPIE_FETCH_TIME_OUT);
|
||||
$rss->set_feed_url($fetch_url);
|
||||
$rss->set_output_encoding('UTF-8');
|
||||
$rss->init();
|
||||
|
|
Loading…
Reference in New Issue