summaryrefslogtreecommitdiff
path: root/feed.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-03-02 08:08:29 +0100
committerAndreas Gohr <andi@splitbrain.org>2012-03-02 08:08:29 +0100
commita7c93226bd0fa1293e1dc99e679390dc2f8d803c (patch)
treee4e3de90f99d23817ccaa466f92c7e759c7c9a46 /feed.php
parent1d901ab2e0bb93fd121685d355782e3672c0d96d (diff)
downloadrpg-a7c93226bd0fa1293e1dc99e679390dc2f8d803c.tar.gz
rpg-a7c93226bd0fa1293e1dc99e679390dc2f8d803c.tar.bz2
make RSS contents (media/pages) configurable
Diffstat (limited to 'feed.php')
-rw-r--r--feed.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/feed.php b/feed.php
index a7fa95620..98d5ef2e8 100644
--- a/feed.php
+++ b/feed.php
@@ -117,8 +117,8 @@ function rss_parseOptions(){
'show_minor' => array('minor', false),
// String, only used in search mode
'search_query' => array('q', null),
- // One of: pages, media, both
- 'content_type' => array('view', 'both')
+ // One of: pages, media, both
+ 'content_type' => array('view', $conf['rss_media'])
) as $name => $val) {
$opt[$name] = (isset($_REQUEST[$val[0]]) && !empty($_REQUEST[$val[0]]))