diff options
author | Gina Haeussge <osd@foosel.net> | 2008-10-12 19:28:55 +0200 |
---|---|---|
committer | Gina Haeussge <osd@foosel.net> | 2008-10-12 19:28:55 +0200 |
commit | e3e6ab3c9a02ebb58211cd1b0ebc26437d0c1827 (patch) | |
tree | 36d3e76abbca5b4f704ddf347deb6b4440f14b35 /lib/exe/js.php | |
parent | aa90724a41887c942234e76084e5d945eb10c0fb (diff) | |
download | rpg-e3e6ab3c9a02ebb58211cd1b0ebc26437d0c1827.tar.gz rpg-e3e6ab3c9a02ebb58211cd1b0ebc26437d0c1827.tar.bz2 |
Include host in the seed for the JS and the CSS cachenames (FS#1487)
darcs-hash:20081012172855-2b4f5-85b89a7968681932d30f75072df347ba6a53b24c.gz
Diffstat (limited to 'lib/exe/js.php')
-rw-r--r-- | lib/exe/js.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/js.php b/lib/exe/js.php index ad166da8d..af455641c 100644 --- a/lib/exe/js.php +++ b/lib/exe/js.php @@ -35,7 +35,7 @@ function js_out(){ $write = (bool) $_REQUEST['write']; // writable? // The generated script depends on some dynamic options - $cache = getCacheName('scripts'.$edit.'x'.$write,'.js'); + $cache = getCacheName('scripts'.$_SERVER['HTTP_HOST'].$_SERVER['SERVER_PORT'].$edit.'x'.$write,'.js'); // Array of needed files $files = array( |