Permalink
Browse files

oops.

  • Loading branch information...
mukunda- committed Sep 6, 2014
1 parent 5f72efa commit 1327130aecff14a3be5526608ae9cca6c86f8939
Showing with 1 addition and 4 deletions.
  1. +1 −4 logparser2.php
View
@@ -158,8 +158,7 @@ function ParseLog( $filepath, $simple=false, $starttime=0, $duration=0, $ticks=0
//L DD/MM/YYYY - HH:MM:SS
$line = substr( $line, 25 );
echo '<font color="red">' . htmlspecialchars($line) . '</font><br>'; // DEBUG
if( preg_match( $regex_playeraction , $line, $matches ) ) {
$name = htmlspecialchars($matches[1]);
$steamid = $matches[2];
@@ -168,8 +167,6 @@ function ParseLog( $filepath, $simple=false, $starttime=0, $duration=0, $ticks=0
$data = $matches[5];
$self = $highlight==""?FALSE:($steamid == $highlight);
echo '<font color="blue">' . "$steamid, $team, $action, $data, $self" . '</font><br>'; // DEBUG
switch( $action ) {
case "entered":
if( $simple ) break;

0 comments on commit 1327130

Please sign in to comment.