diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2014-02-26 01:49:29 +0000 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2014-02-26 01:49:29 +0000 |
commit | 3bf4233a75bbb00df6c04707d1a52fdb84e8be16 (patch) | |
tree | 4299bbeb109b70f9b7ecd00ee1f52b571067aa0f | |
parent | 27538f87e374a7f00a3b58fc5533819465f4c166 (diff) | |
download | rpg-3bf4233a75bbb00df6c04707d1a52fdb84e8be16.tar.gz rpg-3bf4233a75bbb00df6c04707d1a52fdb84e8be16.tar.bz2 |
add HOST and PORT to feed cache key
-rw-r--r-- | feed.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |