summaryrefslogtreecommitdiff
path: root/inc/pageutils.php
diff options
context:
space:
mode:
authorJens Wilke <jw_list@headissue.com>2008-01-22 19:58:28 +0100
committerJens Wilke <jw_list@headissue.com>2008-01-22 19:58:28 +0100
commitfc39f9b4386bcff9ffe0ccdfbd747b6f74756143 (patch)
tree5462858346227fe9cafcd145e7f6c001a99b58d3 /inc/pageutils.php
parentefa13f01cdeb3d488d3233672b39d0e19bf51888 (diff)
downloadrpg-fc39f9b4386bcff9ffe0ccdfbd747b6f74756143.tar.gz
rpg-fc39f9b4386bcff9ffe0ccdfbd747b6f74756143.tar.bz2
fix problems with gzip compression
darcs-hash:20080122185828-1ec87-37d8149991d56d3b924634598e57ef2d0b6562a8.gz
Diffstat (limited to 'inc/pageutils.php')
-rw-r--r--inc/pageutils.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/pageutils.php b/inc/pageutils.php
index 4229c60cd..6ccc49c7f 100644
--- a/inc/pageutils.php
+++ b/inc/pageutils.php
@@ -538,6 +538,9 @@ function http_conditionalRequest($timestamp){
// Nothing has changed since their last request - serve a 304 and exit
header('HTTP/1.0 304 Not Modified');
+
+ // don't produce output, even if compression is on
+ ob_end_clean();
exit;
}