From e3de9d7dd1331f9718e04cc98e9ca7cfa27cf4aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C3=A9cureuil?= Date: Sun, 17 May 2020 14:46:00 +0200 Subject: Sync with master of moonmoon ( version 9.0.0-rc) Source from https://github.com/Emmafrs/moonmoon/ --- common/atom.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common/atom.php') diff --git a/common/atom.php b/common/atom.php index 5122158..c80d987 100644 --- a/common/atom.php +++ b/common/atom.php @@ -1,15 +1,15 @@ loadOpml(dirname(__FILE__).'/custom/people.opml') == 0) exit; +if ($Planet->loadOpml(__DIR__.'/custom/people.opml') == 0) exit; $Planet->loadFeeds(); $items = $Planet->getItems(); $limit = $PlanetConfig->getMaxDisplay(); $count = 0; -header('Content-Type: application/atom+xml; charset=UTF-8'); +header('Content-Type: text/xml; charset=UTF-8'); echo ''; ?> -- cgit v1.2.1