diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-08-03 19:35:35 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-08-03 19:36:11 -0400 |
commit | 39056453424dcb7e01f69c502192e45604d1fe84 (patch) | |
tree | 1aebbca749dd0dce1cc2747ededf85a3fdc78e3e /IkiWiki/Plugin/attachment.pm | |
parent | 210b9ba2f3999db21030bb7ca05b9861b763788a (diff) | |
download | ikiwiki-39056453424dcb7e01f69c502192e45604d1fe84.tar ikiwiki-39056453424dcb7e01f69c502192e45604d1fe84.tar.gz |
add plugin safe/rebuild info (part 3 of 3)
Diffstat (limited to 'IkiWiki/Plugin/attachment.pm')
-rw-r--r-- | IkiWiki/Plugin/attachment.pm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/IkiWiki/Plugin/attachment.pm b/IkiWiki/Plugin/attachment.pm index 404ca07fa..b81870ffb 100644 --- a/IkiWiki/Plugin/attachment.pm +++ b/IkiWiki/Plugin/attachment.pm @@ -18,13 +18,6 @@ sub getsetup () { #{{{ safe => 1, rebuild => 0, }, - virus_checker => { - type => "string", - example => "clamdscan -", - description => "virus checker program (reads STDIN, returns nonzero if virus found)", - safe => 0, # executed - rebuild => 0, - }, allowed_attachments => { type => "pagespec", example => "virusfree() and mimetype(image/*) and maxsize(50kb)", @@ -33,6 +26,13 @@ sub getsetup () { #{{{ safe => 1, rebuild => 0, }, + virus_checker => { + type => "string", + example => "clamdscan -", + description => "virus checker program (reads STDIN, returns nonzero if virus found)", + safe => 0, # executed + rebuild => 0, + }, } #}}} sub check_canattach ($$;$) { #{{{ |