aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/widgets')
-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){