diff --git a/egbim/bbs/admin_guard.php b/egbim/bbs/admin_guard.php index e4d941d..e3794f5 100644 --- a/egbim/bbs/admin_guard.php +++ b/egbim/bbs/admin_guard.php @@ -32,4 +32,4 @@ function get_admin_display_name($loginId, $fallbackName = null) { return $map[$loginId]; } return $fallbackName ?: $loginId; -} \ No newline at end of file +} diff --git a/egbim/bbs/descope_qa_write.php b/egbim/bbs/descope_qa_write.php index bd74e73..633025f 100644 --- a/egbim/bbs/descope_qa_write.php +++ b/egbim/bbs/descope_qa_write.php @@ -45,6 +45,16 @@ try { $postId = isset($_GET['id']) ? (int)$_GET['id'] : 0; $isEdit = $postId > 0; +// 신규 Q&A 접수 중단: 폼 URL 직접 접근과 POST 우회를 모두 차단합니다. +if (!$isEdit) { + if ($_SERVER['REQUEST_METHOD'] === 'POST') { + http_response_code(403); + exit('현재 Q&A 신규 문의 접수가 중단되었습니다.'); + } + header('Location: /egbim/bbs/descope_qa_list.php'); + exit; +} + // 5) 수정 모드이면 기존 글 불러오기 if ($isEdit) { $stmt = $pdo->prepare("SELECT * FROM qa_posts WHERE post_id = ?"); diff --git a/egbim/bbs/descope_qa_write_250819.php b/egbim/bbs/descope_qa_write_250819.php index 24696ef..3fc953c 100644 --- a/egbim/bbs/descope_qa_write_250819.php +++ b/egbim/bbs/descope_qa_write_250819.php @@ -43,6 +43,16 @@ try { $postId = isset($_GET['id']) ? (int)$_GET['id'] : 0; $isEdit = $postId > 0; +// 구형 URL을 통한 신규 문의 등록도 차단합니다. +if (!$isEdit) { + if ($_SERVER['REQUEST_METHOD'] === 'POST') { + http_response_code(403); + exit('현재 Q&A 신규 문의 접수가 중단되었습니다.'); + } + header('Location: /egbim/bbs/descope_qa_list.php'); + exit; +} + // 5) 수정 모드이면 기존 글 불러오기 if ($isEdit) { $stmt = $pdo->prepare("SELECT * FROM qa_posts WHERE post_id = ?"); diff --git a/egbim/skin/qa/basic/descope_qa_list.skin.php b/egbim/skin/qa/basic/descope_qa_list.skin.php index fba6c17..268f5e7 100644 --- a/egbim/skin/qa/basic/descope_qa_list.skin.php +++ b/egbim/skin/qa/basic/descope_qa_list.skin.php @@ -251,9 +251,7 @@ $download_url = "https://release-download.hmac.kr/eg-bim/{$version}/setup_eg-bim
- +

현재 Q&A 신규 문의 접수가 중단되었습니다. 기존 문의는 계속 확인할 수 있습니다.

@@ -692,4 +690,4 @@ if (statusSelect) { document.querySelector('.qa-controls').submit(); }); } - \ No newline at end of file + diff --git a/eng/bbs/admin_guard.php b/eng/bbs/admin_guard.php index 51053b1..59266f5 100644 --- a/eng/bbs/admin_guard.php +++ b/eng/bbs/admin_guard.php @@ -20,9 +20,10 @@ function get_admin_display_name($loginId, $fallbackName = null) { 'b23008@baroncs.co.kr' => '관리자3', 'cjy627@hanmaceng.co.kr' => '관리자4', 'b23072@hanmaceng.co.kr' => '관리자5', + 'm21318@hanmaceng.co.kr' => '강근아', ]; if (isset($map[$loginId])) { return $map[$loginId]; } return $fallbackName ?: $loginId; -} \ No newline at end of file +} diff --git a/eng/bbs/descope_qa_write.php b/eng/bbs/descope_qa_write.php index cbcef20..3cf2438 100644 --- a/eng/bbs/descope_qa_write.php +++ b/eng/bbs/descope_qa_write.php @@ -45,6 +45,16 @@ try { $postId = isset($_GET['id']) ? (int)$_GET['id'] : 0; $isEdit = $postId > 0; +// New Q&A submissions are closed. Block both direct form access and POST bypasses. +if (!$isEdit) { + if ($_SERVER['REQUEST_METHOD'] === 'POST') { + http_response_code(403); + exit('New Q&A submissions are currently closed.'); + } + header('Location: /eng/bbs/descope_qa_list.php'); + exit; +} + // 5) 수정 모드이면 기존 글 불러오기 if ($isEdit) { $stmt = $pdo->prepare("SELECT * FROM qa_posts WHERE post_id = ?"); diff --git a/eng/bbs/descope_qa_write_250819.php b/eng/bbs/descope_qa_write_250819.php index 24696ef..e9565a8 100644 --- a/eng/bbs/descope_qa_write_250819.php +++ b/eng/bbs/descope_qa_write_250819.php @@ -43,6 +43,16 @@ try { $postId = isset($_GET['id']) ? (int)$_GET['id'] : 0; $isEdit = $postId > 0; +// Block new submissions through this legacy URL as well. +if (!$isEdit) { + if ($_SERVER['REQUEST_METHOD'] === 'POST') { + http_response_code(403); + exit('New Q&A submissions are currently closed.'); + } + header('Location: /eng/bbs/descope_qa_list.php'); + exit; +} + // 5) 수정 모드이면 기존 글 불러오기 if ($isEdit) { $stmt = $pdo->prepare("SELECT * FROM qa_posts WHERE post_id = ?"); diff --git a/eng/skin/qa/basic/descope_qa_list.skin.php b/eng/skin/qa/basic/descope_qa_list.skin.php index 2afb7f4..613edb3 100644 --- a/eng/skin/qa/basic/descope_qa_list.skin.php +++ b/eng/skin/qa/basic/descope_qa_list.skin.php @@ -237,9 +237,7 @@ $download_url = "https://release-download.hmac.kr/eg-bim/{$version}/setup_eg-bim
- +

New Q&A submissions are closed. Existing inquiries remain available.

@@ -671,4 +669,4 @@ foreach ($partials as $p) { \ No newline at end of file +