[mw-devel] MW3 r1234 - in trunk/webclient: . templates

dez at sucs.org dez at sucs.org
Sat Nov 13 16:04:50 GMT 2010


Author: dez
Date: 2010-11-13 16:04:50 +0000 (Sat, 13 Nov 2010)
New Revision: 1234

Modified:
   trunk/webclient/say.js
   trunk/webclient/send.php
   trunk/webclient/templates/main.html
Log:
Removes local logging by the PHP, which is redundant
Corrects title of the web page


Modified: trunk/webclient/say.js
===================================================================
--- trunk/webclient/say.js	2010-11-13 15:55:08 UTC (rev 1233)
+++ trunk/webclient/say.js	2010-11-13 16:04:50 UTC (rev 1234)
@@ -258,7 +258,7 @@
 		usercount++;
 	}
 	$("#debug").empty();
-	$("#debug").append(concatObject(userIndex));
+//	$("#debug").append(concatObject(userIndex));
 }
 
 function userProfile(data, stat) {

Modified: trunk/webclient/send.php
===================================================================
--- trunk/webclient/send.php	2010-11-13 15:55:08 UTC (rev 1233)
+++ trunk/webclient/send.php	2010-11-13 16:04:50 UTC (rev 1234)
@@ -9,9 +9,6 @@
 	$auth = trim(@$_REQUEST['auth']);
 }
 
-$log = fopen("poll.log", "a");
-fwrite($log, "Send hit pid='$sess' auth='$auth'\n");
-
 $path = "/var/run/mw/mwpoll.".$sess;
 
 header("Content-type: application/json");
@@ -46,7 +43,6 @@
 }
 
 $msg = trim($_REQUEST['send']);
-fwrite($log, "Action: %s\n", $msg);
 
 if (@socket_send($sock, $msg, strlen($msg), MSG_EOF)===FALSE) {
 	echo "{\"status\":\"Socket error\"}\n";
@@ -75,8 +71,5 @@
 
 echo $response."\n";
 
-fwrite($log, "Response '$response'\n");
-
 socket_close($sock);
-fclose($log);
 ?>

Modified: trunk/webclient/templates/main.html
===================================================================
--- trunk/webclient/templates/main.html	2010-11-13 15:55:08 UTC (rev 1233)
+++ trunk/webclient/templates/main.html	2010-11-13 16:04:50 UTC (rev 1234)
@@ -1,6 +1,6 @@
 <html>
 <head>
-<title>MW Talker</title>
+<title>Milliways Talker</title>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="say.js"></script>




More information about the mw-devel mailing list