aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-01-31 19:26:36 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-01-31 19:26:36 -0500
commit3b83e520182a83e4ae6c61ab7b360b0eb939469f (patch)
tree540e62579bb246a411d25fac866968605ee496f7 /IkiWiki
parente5c8bc6222712fe9f465d4ac36350fd4ea729787 (diff)
downloadikiwiki-3b83e520182a83e4ae6c61ab7b360b0eb939469f.tar
ikiwiki-3b83e520182a83e4ae6c61ab7b360b0eb939469f.tar.gz
rename apache404 -> 404
This may already work with other web servers that have copied apache's interface, and it should be easy to add support to it for web servers that use some other interface. So, make the name more general.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/404.pm (renamed from IkiWiki/Plugin/apache404.pm)4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/apache404.pm b/IkiWiki/Plugin/404.pm
index e7ce70435..5550ea7d1 100644
--- a/IkiWiki/Plugin/apache404.pm
+++ b/IkiWiki/Plugin/404.pm
@@ -2,14 +2,14 @@
# Copyright © 2009 Simon McVittie <http://smcv.pseudorandom.co.uk/>
# Licensed under the GNU GPL, version 2, or any later version published by the
# Free Software Foundation
-package IkiWiki::Plugin::apache404;
+package IkiWiki::Plugin::404;
use warnings;
use strict;
use IkiWiki 3.00;
sub import {
- hook(type => "cgi", id => 'apache404', call => \&cgi);
+ hook(type => "cgi", id => '404', call => \&cgi);
IkiWiki::loadplugin("goto");
}