From b1e8d8e80bbf7e46cb36dd441ec66c6c7cc56a46 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 18 Jan 2009 20:07:07 +0000 Subject: moved library include to view --- start.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'start.php') diff --git a/start.php b/start.php index 03c0c00d2..44f259ace 100644 --- a/start.php +++ b/start.php @@ -7,14 +7,7 @@ **/ function simplepie_init() - { - global $CONFIG; - - if (!class_exists('SimplePie')) - { - require_once $CONFIG->pluginspath . '/simplepie/simplepie.inc'; - } - + { add_widget_type('feed_reader', 'Feed Reader Widget', 'single feed'); } -- cgit v1.2.3