diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-03-18 14:02:01 +0100 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-03-18 14:02:01 +0100 |
commit | b09b9f475dba5eb97b53387929b3830c852915ca (patch) | |
tree | 0c6c973380748ee095daac131eec0dc67f50b1d4 /feed.php | |
parent | faa5129227ac3bdf5f640402fd2e44f39c1f33c9 (diff) | |
download | rpg-b09b9f475dba5eb97b53387929b3830c852915ca.tar.gz rpg-b09b9f475dba5eb97b53387929b3830c852915ca.tar.bz2 |
add 404 status header to feed disabled
Diffstat (limited to 'feed.php')
-rw-r--r-- | feed.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -17,6 +17,7 @@ session_write_close(); //feed disabled? if(!actionOK('rss')) { + http_status(404); echo '<error>RSS feed is disabled.</error>'; exit; } |