From e3e6ab3c9a02ebb58211cd1b0ebc26437d0c1827 Mon Sep 17 00:00:00 2001 From: Gina Haeussge Date: Sun, 12 Oct 2008 19:28:55 +0200 Subject: Include host in the seed for the JS and the CSS cachenames (FS#1487) darcs-hash:20081012172855-2b4f5-85b89a7968681932d30f75072df347ba6a53b24c.gz --- lib/exe/js.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/exe/js.php') 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( -- cgit v1.2.3