adjust
This commit is contained in:
parent
769552d092
commit
12c78a5b75
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user