diff --git a/webapp/classes/GameLog.php b/webapp/classes/GameLog.php index 71a78d8..5b42ebf 100644 --- a/webapp/classes/GameLog.php +++ b/webapp/classes/GameLog.php @@ -13,7 +13,8 @@ class GameLog return; } if (flock($fp, LOCK_EX)) { - fwrite($fp, $str . '\n'); + fwrite($fp, date("Y-m-d H:i:s ",time())); + fwrite($fp, $str . "\n"); flock($fp, LOCK_UN); } fclose($fp);