로그 출력 거꾸로 된 것 보정

This commit is contained in:
2018-04-10 22:44:12 +09:00
parent e487846c56
commit 5c8194b36d
+3 -3
View File
@@ -84,7 +84,7 @@ function pushAuctionLog($log) {
} }
function getAuctionLogRecent(int $count) { function getAuctionLogRecent(int $count) {
return join('<br>', getFormattedFileLogRecent("logs/_auctionlog.txt", $count, 300)); return join('<br>', array_reverse(getFormattedFileLogRecent("logs/_auctionlog.txt", $count, 300)));
} }
function pushGenLog($general, $log) { function pushGenLog($general, $log) {
@@ -102,7 +102,7 @@ function pushBatRes($general, $log) {
} }
function getBatResRecent(int $no, int $count) { function getBatResRecent(int $no, int $count) {
return join('<br>', getFormattedFileLogRecent("logs/batres{$no}.txt", $count, 300)); return join('<br>', array_reverse(getFormattedFileLogRecent("logs/batres{$no}.txt", $count, 300)));
} }
function pushBatLog($general, $log) { function pushBatLog($general, $log) {
@@ -111,7 +111,7 @@ function pushBatLog($general, $log) {
} }
function getBatLogRecent(int $no, int $count) { function getBatLogRecent(int $no, int $count) {
return join('<br>', getFormattedFileLogRecent("logs/batlog{$no}.txt", $count, 300)); return join('<br>', array_reverse(getFormattedFileLogRecent("logs/batlog{$no}.txt", $count, 300)));
} }
//DB-based //DB-based