Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-05-22 13:03:55 +0200
committerErich Eckner <git@eckner.net>2019-05-22 13:03:55 +0200
commit862c6228c1d4e167aff65ab5bbb6ec78b99f173e (patch)
tree9c478c2fa440742c1af11e96d935ae04c6be8783
parent87e528a21a924adaa617af9d8207c759be4998c2 (diff)
feed.php: add missing die() and missing comments
-rw-r--r--feed.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/feed.php b/feed.php
index 61c74ec..70320e9 100644
--- a/feed.php
+++ b/feed.php
@@ -210,6 +210,8 @@ if (count($uri_parts) == 0) { // index page
print_footer();
+ die();
+
} // index page
if ($uri_parts[0] == 'releases') {
@@ -285,7 +287,7 @@ if ($uri_parts[0] == 'releases') {
print "</rss>";
die();
-}
+} // releases
if ($uri_parts[0] == 'packages') {
@@ -483,6 +485,6 @@ if ($uri_parts[0] == 'packages') {
die();
-}
+} // packages
throw_http_error(501, "Not Implemented");