aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2009-03-17 12:00:43 +0000
committercash <cash.costello@gmail.com>2009-03-17 12:00:43 +0000
commit52ee59f03ccb490cc00116df2b7cdaa411727fd0 (patch)
treedb065bcc3fd579c242e7f40c53d9597de5a71c2e /views/default/widgets
parent1f5aabe7bd30eb0035c862ce455ec2a5ee9e6404 (diff)
downloadelgg-52ee59f03ccb490cc00116df2b7cdaa411727fd0.tar.gz
elgg-52ee59f03ccb490cc00116df2b7cdaa411727fd0.tar.bz2
added line for timeout on feeds
Diffstat (limited to 'views/default/widgets')
-rw-r--r--views/default/widgets/feed_reader/view.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/default/widgets/feed_reader/view.php b/views/default/widgets/feed_reader/view.php
index 5baaf9ebb..e689d3550 100644
--- a/views/default/widgets/feed_reader/view.php
+++ b/views/default/widgets/feed_reader/view.php
@@ -19,6 +19,9 @@
$feed = new SimplePie($feed_url, $cache_loc);
+ // doubles timeout if going through a proxy
+ //$feed->set_timeout(20);
+
$num_posts_in_feed = $feed->get_item_quantity();
// only display errors to profile owner