Skip to content

Commit

Permalink
oops.
Browse files Browse the repository at this point in the history
  • Loading branch information
mukunda- committed Sep 6, 2014
1 parent 5f72efa commit 1327130
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions logparser2.php
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand All @@ -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;
Expand Down

0 comments on commit 1327130

Please sign in to comment.