URI 중 /kngil/skin 반복제거. php 확장자 노출 제거
This commit is contained in:
@@ -14,7 +14,7 @@ if (session_status() === PHP_SESSION_NONE) {
|
||||
if (empty($_SESSION['login'])) {
|
||||
echo "<script>
|
||||
alert('로그인 후 이용 가능합니다.');
|
||||
location.href = '/kngil/skin/qa_list.skin.php';
|
||||
location.href = '/qa_list.skin';
|
||||
</script>";
|
||||
exit;
|
||||
}
|
||||
@@ -92,7 +92,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && ($_POST['action'] ?? '') === 'delet
|
||||
|
||||
$pdo->commit();
|
||||
|
||||
header("Location: /kngil/skin/qa_list.skin.php");
|
||||
header("Location: /qa_list.skin");
|
||||
exit;
|
||||
|
||||
} catch (Exception $e) {
|
||||
|
||||
Reference in New Issue
Block a user