diff --git a/trunk/includes/class/class.LSsession.php b/trunk/includes/class/class.LSsession.php index 8b880765..3dd4ae03 100644 --- a/trunk/includes/class/class.LSsession.php +++ b/trunk/includes/class/class.LSsession.php @@ -822,9 +822,7 @@ class LSsession { 'file' => $file, 'path' => $path ); - if (in_array($script, $this -> JSscripts)) - return; - $this -> JSscripts[]=$script; + $this -> JSscripts[$path.$file]=$script; } /** @@ -853,7 +851,7 @@ class LSsession { 'file' => $file, 'path' => $path ); - $this -> CssFiles[]=$cssFile; + $this -> CssFiles[$path.$file]=$cssFile; } /**