From e12c2e50cdbe996130c8f707df9713a5bad3192e Mon Sep 17 00:00:00 2001 From: Pascal Chevrel Date: Tue, 28 Feb 2012 16:27:22 +0100 Subject: update spyc library from 0.2.3 to 0.5 --- admin/subscriptions.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'admin/subscriptions.php') diff --git a/admin/subscriptions.php b/admin/subscriptions.php index 88d0bea..0b25bde 100644 --- a/admin/subscriptions.php +++ b/admin/subscriptions.php @@ -2,7 +2,7 @@ require_once dirname(__FILE__).'/inc/auth.inc.php'; include_once(dirname(__FILE__).'/../app/classes/Planet.class.php'); -include_once(dirname(__FILE__).'/../app/lib/spyc-0.2.3/spyc.php'); +include_once(dirname(__FILE__).'/../app/lib/spyc-0.5/spyc.php'); require_once dirname(__FILE__).'/../app/lib/lib.opml.php'; require_once dirname(__FILE__).'/../app/lib/simplepie/simplepie.inc'; @@ -39,7 +39,7 @@ if (isset($_POST['opml']) || isset($_POST['add'])) { } } } - + // Add feed if (isset($_POST['add'])){ if ('http://' != $_POST['url']) { @@ -60,9 +60,9 @@ if (isset($_POST['opml']) || isset($_POST['add'])) { // Backup old OPML OpmlManager::backup(dirname(__FILE__).'/../custom/people.opml'); - + // Save new OPML OpmlManager::save($newOpml, dirname(__FILE__).'/../custom/people.opml'); } header("Location: index.php"); -die(); \ No newline at end of file +die(); -- cgit v1.2.1