summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-23 12:58:39 +0100
committerAndrew Dolgov <[email protected]>2007-08-23 12:58:39 +0100
commit03a577bff0ac98caff0411ef118f8796c0400043 (patch)
treea07785b88e487942c9324460a5aab7e5bd965d76 /functions.php
parent87b44f5ca0e5f93564d81b577a715d5a078ea20b (diff)
simplepie: enable use of MAGPIE_FETCH_TIME_OUT
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 5d086f9e9..bc26bf77a 100644
--- a/functions.php
+++ b/functions.php
@@ -443,6 +443,7 @@
} else {
$rss = new SimplePie();
$rss->set_useragent(SIMPLEPIE_USERAGENT . MAGPIE_USER_AGENT_EXT);
+ $rss->set_timeout(MAGPIE_FETCH_TIME_OUT);
$rss->set_feed_url($fetch_url);
$rss->set_output_encoding('UTF-8');
$rss->init();