코드 일부 수정

This commit is contained in:
2019-10-09 14:43:26 +09:00
parent a3fef6c62f
commit 10fd22ba81
4 changed files with 17 additions and 19 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ function pushRawFileLog($path, $lines){
$lines = [$lines];
}
$text = join("\n", $lines)."\n";
file_put_contents($path, $text, FILE_APPEND);
file_put_contents($path, $text, FILE_APPEND | LOCK_EX);
}
function getRawFileLogRecent(string $path, int $count, $expectedLineLength=null){
+1 -1
View File
@@ -1577,7 +1577,7 @@ class GeneralAI{
return ['che_건국', [
'nationName'=>"".mb_substr($general->getName(), 1),
'nationType'=>$nationType,
'nationColor'=>$nationColor
'colorType'=>$nationColor
]];
}