]> git.decadent.org.uk Git - maypole.git/blobdiff - debian/patches/104_add-cgi-error-status.diff
Updated patches for 2.13.
[maypole.git] / debian / patches / 104_add-cgi-error-status.diff
diff --git a/debian/patches/104_add-cgi-error-status.diff b/debian/patches/104_add-cgi-error-status.diff
deleted file mode 100644 (file)
index 7fdef73..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
---- maypole.orig/lib/CGI/Maypole.pm
-+++ maypole/lib/CGI/Maypole.pm
-@@ -57,7 +57,17 @@
- sub run 
- {
-     my $self = shift;
--    return $self->handler;
-+    my $status = $self->handler;
-+    if ($status != OK) {
-+      print <<EOT;
-+Status: 500 Maypole application error
-+Content-Type: text/html
-+
-+<title>Maypole application error</h1>
-+<h1>Maypole application error</h1>
-+EOT
-+    }
-+    return $status;
- }
- =head1 Implementation