summaryrefslogtreecommitdiff
path: root/conf/dokuwiki.php
diff options
context:
space:
mode:
authorAdrian Lang <dokuwiki@adrianlang.de>2010-12-07 08:30:50 +0100
committerAdrian Lang <dokuwiki@adrianlang.de>2010-12-08 17:43:22 +0100
commitb5a0be432b07d64035ca80b606debad9ccdbd664 (patch)
treedecd0273f3ecfa91a165d967379f0bd94e630347 /conf/dokuwiki.php
parent58a22bd0570451af9e62b659343dd47a26bacb3f (diff)
downloadrpg-b5a0be432b07d64035ca80b606debad9ccdbd664.tar.gz
rpg-b5a0be432b07d64035ca80b606debad9ccdbd664.tar.bz2
Various changes to feed.php’s parameter handling
* Do not emit E_NOTICEs * Introduce explicit feed mode default value »recent« instead of handling every unknown feed mode as recent changes mode. This means: - FEED_MODE_UNKNOWN is only executed if the given feed mode is indeed unknown. This is specifically not the case if no feed mode request param has been specified or the requested feed mode is »recent«. - FEED_MODE_UNKNOWN dies with an error as default behaviour * opt[items] is forced to be a non-negative integer * opt[show_minor] is forced to be a boolean and thus has a default value of false instead of null
Diffstat (limited to 'conf/dokuwiki.php')
-rw-r--r--conf/dokuwiki.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php
index 2405494e0..9e289d9bc 100644
--- a/conf/dokuwiki.php
+++ b/conf/dokuwiki.php
@@ -121,7 +121,7 @@ $conf['rss_linkto'] = 'diff'; //what page RSS entries link to:
// 'page' - the revised page itself
// 'rev' - page showing all revisions
// 'current' - most recent revision of page
-$conf['rss_content'] = 'abstract'; // what to put in the items by deafult?
+$conf['rss_content'] = 'abstract'; // what to put in the items by default?
// 'abstract' - plain text, first paragraph or so
// 'diff' - plain text unified diff wrapped in <pre> tags
// 'htmldiff' - diff as HTML table