diff options
author | Andreas Gohr <gohr@cosmocode.de> | 2005-11-03 11:17:26 +0100 |
---|---|---|
committer | Andreas Gohr <gohr@cosmocode.de> | 2005-11-03 11:17:26 +0100 |
commit | 0dc92c6f78995331021c3b8c6a889913cf3f7de3 (patch) | |
tree | c40897221891e043dcb497183db31b0688aa5a34 /conf | |
parent | 6534245afc8e6007567455a841347fafb2413cc0 (diff) | |
download | rpg-0dc92c6f78995331021c3b8c6a889913cf3f7de3.tar.gz rpg-0dc92c6f78995331021c3b8c6a889913cf3f7de3.tar.bz2 |
hidepages configoption
This new option accepts a RegExp to filter certain pages from all automatic
listings (RSS, recent changes, search results, index). This is useful to
exclude certain pages like the ones used in the sitebar templates. The
regexp is matched against the full page ID with a leading colon. If it
matches the page is assumed to be a hidden one.
IMPORTANT: this is not related to ACL. A hidden page is still visible to all
users (if not restricted by ACL) when linked or called directly.
darcs-hash:20051103101726-6e07b-8d45912a1b4f6cfc9e3fce147c15f84a58ea7ca2.gz
Diffstat (limited to 'conf')
-rw-r--r-- | conf/dokuwiki.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php index 2d89d1cde..65383017c 100644 --- a/conf/dokuwiki.php +++ b/conf/dokuwiki.php @@ -79,6 +79,7 @@ $conf['spellchecker']= 0; //enable Spellchecker (needs PHP >= 4.3 $conf['subscribers'] = 0; //enable change notice subscription support $conf['pluginmanager'] = 0; //enable automated plugin management (requires plugin) $conf['compress'] = 1; //Strip whitespaces and comments from Styles and JavaScript? 1|0 +$conf['hidepages'] = ''; //Regexp for pages to be skipped from RSS, Search and Recent Changes $conf['rss_type'] = 'rss1'; //type of RSS feed to provide, by default: // 'rss' - RSS 0.91 // 'rss1' - RSS 1.0 |