aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/feed_reader/view.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2009-01-18 20:07:07 +0000
committercash <cash.costello@gmail.com>2009-01-18 20:07:07 +0000
commitb1e8d8e80bbf7e46cb36dd441ec66c6c7cc56a46 (patch)
tree6f8e018729087a6140a782dcb504ed54c49a902e /views/default/widgets/feed_reader/view.php
parent5a003c4da2ee4af907edcffb8de210d9b3e92d7c (diff)
downloadelgg-b1e8d8e80bbf7e46cb36dd441ec66c6c7cc56a46.tar.gz
elgg-b1e8d8e80bbf7e46cb36dd441ec66c6c7cc56a46.tar.bz2
moved library include to view
Diffstat (limited to 'views/default/widgets/feed_reader/view.php')
-rw-r--r--views/default/widgets/feed_reader/view.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/views/default/widgets/feed_reader/view.php b/views/default/widgets/feed_reader/view.php
index 6635ecf88..b640890d2 100644
--- a/views/default/widgets/feed_reader/view.php
+++ b/views/default/widgets/feed_reader/view.php
@@ -1,4 +1,10 @@
<?php
+ global $CONFIG;
+
+ if (!class_exists('SimplePie'))
+ {
+ require_once $CONFIG->pluginspath . '/simplepie/simplepie.inc';
+ }
$feed_url = $vars['entity']->feed_url;
if($feed_url){