README.txt
[gitlive] / WindowLog.js
index ef92437..8b24906 100644 (file)
@@ -91,14 +91,15 @@ WindowLog = {
         var path = dir + (xDate.newDate()).format("/d") + ".log";
         var time = (xDate.newDate()).format("H:i:s ")
         
-        File.append (path, time + str + ' ' + cmd + "\n");
+        File.append (path, "\n" +time + str + ' ' + cmd );
         
+
         return;
         var auth = imports.Netrc.Netrc.forHost('git.roojs.com');
 
         // upload it..
         new XMLHttpRequest({
-            url : 'http://www.roojs.com/admin.php', // configurable?
+            url : 'http://www.roojs.com/admin.php/Roo/Mtrack_desktop_activity', // configurable?
             method : 'POST',
             params : {
                 cmd : cmd,
@@ -107,7 +108,8 @@ WindowLog = {
             },
             user : auth.login,
             password : auth.password,
-            async : true
+            async : true,
+            send : true   // run on ctor..
         });
         
         
@@ -116,4 +118,4 @@ WindowLog = {
 }
 
 
-  
\ No newline at end of file
+