diff options
author | mathdesc <mathdesc@web> | 2012-08-17 10:07:24 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2012-08-17 10:07:24 -0400 |
commit | cef1c9dcec048f1fd9ea9968f8f3e1846ff9d6da (patch) | |
tree | 31948cb61a1b53c3c1ef55ca22e190442b6ee009 /doc/bugs | |
parent | c0324124f764f433ac5672ee7e498f074c28322f (diff) | |
download | ikiwiki-cef1c9dcec048f1fd9ea9968f8f3e1846ff9d6da.tar ikiwiki-cef1c9dcec048f1fd9ea9968f8f3e1846ff9d6da.tar.gz |
Disabling filecheck should not be possible
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/Slow_Filecheck_attachments___34__snails_it_all__34__/discussion.mdwn | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/bugs/Slow_Filecheck_attachments___34__snails_it_all__34__/discussion.mdwn b/doc/bugs/Slow_Filecheck_attachments___34__snails_it_all__34__/discussion.mdwn new file mode 100644 index 000000000..6684d79ee --- /dev/null +++ b/doc/bugs/Slow_Filecheck_attachments___34__snails_it_all__34__/discussion.mdwn @@ -0,0 +1,18 @@ +Disabling of filecheck is not actually possible because btw it cause the attachment.pm to malfunction and +any of pagespec that could contain a *mimetype* condition. + +attachment.pm imports "statically" filecheck so actually disabling it should be *interdicted* . + +<pre> +sub import { + add_underlay("attachment"); + add_underlay("javascript"); + add_underlay("jquery"); + hook(type => "getsetup", id => "attachment", call => \&getsetup); + hook(type => "checkconfig", id => "attachment", call => \&checkconfig); + hook(type => "formbuilder_setup", id => "attachment", call => \&formbuilder_setup); + hook(type => "formbuilder", id => "attachment", call => \&formbuilder, last => 1); + IkiWiki::loadplugin("filecheck"); +} +</pre> + |