세션 경로 하드코딩 제거

This commit is contained in:
Lectom C Han
2026-02-05 12:53:59 +09:00
parent 7034a3643a
commit 422991aaf5
17 changed files with 42 additions and 34 deletions

View File

@@ -55,6 +55,7 @@ if ($user['user_pw'] !== $pw) {
}
// ✅ 로그인 성공
session_regenerate_id(true);
$_SESSION['login'] = [
'member_id' => $user['member_id'],
'user_id' => $user['user_id'],