fix: 앱 타임존 Asia/Seoul 적용(시각 9시간 오차 수정) + 활동로그 IP 표시 제거

- appTimezone UTC → Asia/Seoul: date()가 KST로 기록되어 DB(KST)와 일치
- 활동 로그 목록/상세에서 IP 컬럼 제거

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
taekyoungc
2026-06-25 23:21:33 +09:00
parent 41b6ccc339
commit 7294c56c50
3 changed files with 2 additions and 5 deletions

View File

@@ -133,7 +133,7 @@ class App extends BaseConfig
* @see https://www.php.net/manual/en/timezones.php for list of timezones
* supported by PHP.
*/
public string $appTimezone = 'UTC';
public string $appTimezone = 'Asia/Seoul';
/**
* --------------------------------------------------------------------------

View File

@@ -58,7 +58,6 @@ $actionBadge = static function (string $a): string {
<th class="text-center">작업</th>
<th class="text-left">대상</th>
<th class="text-center">대상 번호</th>
<th class="text-left">IP</th>
<th class="text-center no-print">상세</th>
</tr>
</thead>
@@ -79,14 +78,13 @@ $actionBadge = static function (string $a): string {
</td>
<td class="text-left pl-2"><?= esc($tableLabels[$tbl] ?? $tbl) ?></td>
<td class="text-center"><?= (int) ($row->al_record_id ?? 0) ?: '-' ?></td>
<td class="text-left pl-2 text-gray-500"><?= esc((string) ($row->al_ip ?? '')) ?></td>
<td class="text-center no-print">
<a href="<?= base_url('admin/access/activity-logs/' . (int) $row->al_idx) ?>" class="text-blue-700 hover:underline">보기</a>
</td>
</tr>
<?php endforeach; ?>
<?php if ($list === []): ?>
<tr><td colspan="7" class="text-center text-gray-400 py-6">조회된 로그가 없습니다.</td></tr>
<tr><td colspan="6" class="text-center text-gray-400 py-6">조회된 로그가 없습니다.</td></tr>
<?php endif; ?>
</tbody>
</table>

View File

@@ -32,7 +32,6 @@ $fmt = static function ($v): string {
<tr><th class="text-left bg-gray-50">사용자</th><td class="text-left pl-2"><?= $who !== '' ? esc($who) : '시스템' ?></td></tr>
<tr><th class="text-left bg-gray-50">작업</th><td class="text-left pl-2"><?= esc($actionLabels[$act] ?? $act) ?></td></tr>
<tr><th class="text-left bg-gray-50">대상</th><td class="text-left pl-2"><?= esc($tableLabels[$tbl] ?? $tbl) ?> (<?= esc($tbl) ?>) · 번호 <?= (int) ($row->al_record_id ?? 0) ?></td></tr>
<tr><th class="text-left bg-gray-50">IP</th><td class="text-left pl-2"><?= esc((string) ($row->al_ip ?? '')) ?></td></tr>
</tbody>
</table>