summaryrefslogtreecommitdiff
path: root/feed.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-03-18 14:02:01 +0100
committerGerrit Uitslag <klapinklapin@gmail.com>2014-03-18 14:02:01 +0100
commitb09b9f475dba5eb97b53387929b3830c852915ca (patch)
tree0c6c973380748ee095daac131eec0dc67f50b1d4 /feed.php
parentfaa5129227ac3bdf5f640402fd2e44f39c1f33c9 (diff)
downloadrpg-b09b9f475dba5eb97b53387929b3830c852915ca.tar.gz
rpg-b09b9f475dba5eb97b53387929b3830c852915ca.tar.bz2
add 404 status header to feed disabled
Diffstat (limited to 'feed.php')
-rw-r--r--feed.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/feed.php b/feed.php
index 6052e7cc6..c1a5f4503 100644
--- a/feed.php
+++ b/feed.php
@@ -17,6 +17,7 @@ session_write_close();
//feed disabled?
if(!actionOK('rss')) {
+ http_status(404);
echo '<error>RSS feed is disabled.</error>';
exit;
}