diff options
author | Pascal Chevrel <pascal@chevrel.org> | 2012-02-28 16:27:22 +0100 |
---|---|---|
committer | Pascal Chevrel <pascal@chevrel.org> | 2012-03-06 15:34:09 +0100 |
commit | e12c2e50cdbe996130c8f707df9713a5bad3192e (patch) | |
tree | a650f04b30d8e126c59092f41f3abc37fad711ac /admin | |
parent | 88b8f6f10e0ca7f516935c35b392852533dc5e2b (diff) | |
download | planet-e12c2e50cdbe996130c8f707df9713a5bad3192e.tar planet-e12c2e50cdbe996130c8f707df9713a5bad3192e.tar.gz planet-e12c2e50cdbe996130c8f707df9713a5bad3192e.tar.bz2 planet-e12c2e50cdbe996130c8f707df9713a5bad3192e.tar.xz planet-e12c2e50cdbe996130c8f707df9713a5bad3192e.zip |
update spyc library from 0.2.3 to 0.5
Diffstat (limited to 'admin')
-rw-r--r-- | admin/subscriptions.php | 8 |
1 files changed, 4 insertions, 4 deletions
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(); |