From: Joey Hess Date: Sun, 3 Aug 2008 21:02:00 +0000 (-0400) Subject: reorg settings X-Git-Tag: 2.60~95 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6fb0226a55d2e1eaa72981c393f4221802c3d193;p=ikiwiki.git reorg settings --- 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/\/\./,