코드 일부 수정
This commit is contained in:
@@ -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){
|
||||
|
||||
@@ -1577,7 +1577,7 @@ class GeneralAI{
|
||||
return ['che_건국', [
|
||||
'nationName'=>"㉿".mb_substr($general->getName(), 1),
|
||||
'nationType'=>$nationType,
|
||||
'nationColor'=>$nationColor
|
||||
'colorType'=>$nationColor
|
||||
]];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user