summaryrefslogtreecommitdiffstats
path: root/rss.php
diff options
context:
space:
mode:
Diffstat (limited to 'rss.php')
-rw-r--r--rss.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/rss.php b/rss.php
index 9fa23d9f..98915493 100644
--- a/rss.php
+++ b/rss.php
@@ -23,6 +23,11 @@
$no_session = 1;
require('modules/init.php');
-echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
+/* Check Perms */
+if (!conf('use_rss') || conf('demo_mode')) {
+ access_denied();
+}
+
+
show_now_playingRSS();
?>