From a2035fb399e36d1e2952b87d86fda4b3afa71d31 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 22 Jan 2009 02:23:27 +0000 Subject: set cache directory --- views/default/widgets/feed_reader/view.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'views/default') diff --git a/views/default/widgets/feed_reader/view.php b/views/default/widgets/feed_reader/view.php index 948ed89cc..a4611772e 100644 --- a/views/default/widgets/feed_reader/view.php +++ b/views/default/widgets/feed_reader/view.php @@ -1,4 +1,5 @@ num_items; $post_date = $vars['entity']->post_date; - $feed = new SimplePie($feed_url); + $cache_loc = $CONFIG->pluginspath . '/simplepie/cache'; + + $feed = new SimplePie($feed_url, $cache_loc); $num_posts_in_feed = $feed->get_item_quantity(); if (!$num_posts_in_feed) -- cgit v1.2.3