fix: 트래픽 일람에서 새 줄 파싱 문제

This commit is contained in:
2023-03-13 02:43:44 +09:00
parent 80a674436a
commit 0a35505fa4
+3
View File
@@ -23,6 +23,9 @@ $online = [];
$curonline = getOnlineNum();
foreach ($log as $i => $value) {
$parse = Json::decode($value);
if(count($parse) < 5){
continue;
}
$date[$i] = $parse[0];
$year[$i] = $parse[1];
$month[$i] = $parse[2];