diff options
author | cash <cash.costello@gmail.com> | 2009-03-17 12:00:43 +0000 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2009-03-17 12:00:43 +0000 |
commit | 52ee59f03ccb490cc00116df2b7cdaa411727fd0 (patch) | |
tree | db065bcc3fd579c242e7f40c53d9597de5a71c2e /views | |
parent | 1f5aabe7bd30eb0035c862ce455ec2a5ee9e6404 (diff) | |
download | elgg-52ee59f03ccb490cc00116df2b7cdaa411727fd0.tar.gz elgg-52ee59f03ccb490cc00116df2b7cdaa411727fd0.tar.bz2 |
added line for timeout on feeds
Diffstat (limited to 'views')
-rw-r--r-- | views/default/widgets/feed_reader/view.php | 3 |
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 |