]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Add a comment for using awstats_misc_tracker with pslogger.php
authoreldy <>
Sat, 14 Aug 2004 16:21:41 +0000 (16:21 +0000)
committereldy <>
Sat, 14 Aug 2004 16:21:41 +0000 (16:21 +0000)
wwwroot/js/awstats_misc_tracker.js

index 398f6da5d6b836019971a590826b3b45ed707043..61b0f023b79d5f470078966a4fc883a8fa4ac6c7 100644 (file)
@@ -14,7 +14,7 @@
 //\r
 // This allows AWStats to be enhanced with some miscellanous features:
 // - Screen size detection (TRKscreen)
-// - Window size detection (TRKwinsize)
+// - Browser size detection (TRKwinsize)
 // - Screen color depth detection (TRKcdi)
 // - Java enabled detection (TRKjava)
 // - Macromedia Director plugin detection (TRKshk)
@@ -25,7 +25,8 @@
 // - Acrobat PDF plugin detection (TRKpdf)
 //-------------------------------------------------------------------
 
-
+// If you use pslogger.php to generate your log, you can change this line with\r
+// var awstatsmisctrackerurl="pslogger.php?loc=/js/awstats_misc_tracker.js";\r
 var awstatsmisctrackerurl="/js/awstats_misc_tracker.js";
 
 function awstats_setCookie(TRKNameOfCookie, TRKvalue, TRKexpirehours) {
@@ -84,7 +85,7 @@ if (window.location.search == "") {
        var TRKwin = ((TRKagt.indexOf("win")!=-1) || (TRKagt.indexOf("32bit")!=-1));
        var TRKmac = (TRKagt.indexOf("mac")!=-1);
 
-    // Detect the window internal width and height\r
+    // Detect the browser internal width and height\r
     if (document.documentElement && document.documentElement.clientWidth)\r
         TRKwinsize = document.documentElement.clientWidth + 'x' + document.documentElement.clientHeight;\r
     else if (document.body)\r