summaryrefslogtreecommitdiff
path: root/feed.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2014-02-26 01:49:29 +0000
committerChristopher Smith <chris@jalakai.co.uk>2014-02-26 01:49:29 +0000
commit3bf4233a75bbb00df6c04707d1a52fdb84e8be16 (patch)
tree4299bbeb109b70f9b7ecd00ee1f52b571067aa0f /feed.php
parent27538f87e374a7f00a3b58fc5533819465f4c166 (diff)
downloadrpg-3bf4233a75bbb00df6c04707d1a52fdb84e8be16.tar.gz
rpg-3bf4233a75bbb00df6c04707d1a52fdb84e8be16.tar.bz2
add HOST and PORT to feed cache key
Diffstat (limited to 'feed.php')
-rw-r--r--feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/feed.php b/feed.php
index 34ce23c89..960131b15 100644
--- a/feed.php
+++ b/feed.php
@@ -21,7 +21,7 @@ $opt = rss_parseOptions();
// the feed is dynamic - we need a cache for each combo
// (but most people just use the default feed so it's still effective)
$cache = getCacheName(join('', array_values($opt)).$_SERVER['REMOTE_USER'], '.feed');
-$key = join('', array_values($opt)).$_SERVER['REMOTE_USER'];
+$key = join('', array_values($opt)).$_SERVER['REMOTE_USER'].$_SERVER['HTTP_HOST'].$_SERVER['SERVER_PORT'];
$cache = new cache($key, '.feed');
// prepare cache depends