코드 일부 수정

This commit is contained in:
Hide_D committed 2019-10-09 14:43:26 +09:00
1 parent f667eb1500
commit 107263d061
4 files changed
+17 -19

No files matched your search

+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){