summaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-08-03 17:02:00 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-08-03 17:02:00 -0400
commit6fb0226a55d2e1eaa72981c393f4221802c3d193 (patch)
tree2c554ada1234f3cf5abab631f14b860f8de006f8 /IkiWiki.pm
parent1a37848346fd4853e8961e81d576906f4a5cab78 (diff)
reorg settings
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm60
1 files changed, 30 insertions, 30 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 2139aa7d1..2815a5c4c 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -41,6 +41,28 @@ sub getsetup () { #{{{
safe => 1,
rebuild => 1,
},
+ adminemail => {
+ type => "string",
+ default => undef,
+ example => 'me@example.com',
+ description => "contact email for wiki",
+ safe => 1,
+ rebuild => 0,
+ },
+ adminuser => {
+ type => "string",
+ default => [],
+ description => "users who are wiki admins",
+ safe => 1,
+ rebuild => 0,
+ },
+ banned_users => {
+ type => "string",
+ default => [],
+ description => "users who are banned from the wiki",
+ safe => 1,
+ rebuild => 0,
+ },
srcdir => {
type => "string",
default => undef,
@@ -57,21 +79,6 @@ sub getsetup () { #{{{
safe => 0, # path
rebuild => 1,
},
- adminuser => {
- type => "string",
- default => [],
- description => "user names of wiki admins",
- safe => 1,
- rebuild => 0,
- },
- adminemail => {
- type => "string",
- default => undef,
- example => 'me@example.com',
- description => "contact email for wiki",
- safe => 1,
- rebuild => 0,
- },
url => {
type => "string",
default => '',
@@ -198,6 +205,14 @@ sub getsetup () { #{{{
safe => 1,
rebuild => 1,
},
+ sslcookie => {
+ type => "boolean",
+ default => 0,
+ description => "only send cookies over SSL connections?",
+ advanced => 1,
+ safe => 1,
+ rebuild => 0,
+ },
default_pageext => {
type => "string",
default => "mdwn",
@@ -229,14 +244,6 @@ sub getsetup () { #{{{
safe => 0,
rebuild => 1,
},
- sslcookie => {
- type => "boolean",
- default => 0,
- description => "only send cookies over SSL connections?",
- advanced => 1,
- safe => 1,
- rebuild => 0,
- },
userdir => {
type => "string",
default => "",
@@ -294,13 +301,6 @@ sub getsetup () { #{{{
safe => 0, # regexp
rebuild => 1,
},
- banned_users => {
- type => "string",
- default => [],
- description => "users who are banned from the wiki",
- safe => 1,
- rebuild => 0,
- },
wiki_file_prune_regexps => {
type => "internal",
default => [qr/(^|\/)\.\.(\/|$)/, qr/^\./, qr/\/\./,