초기 커밋: 5130 레거시 시스템
- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경 - DB 연결 하드코딩 → .env 기반으로 변경 - MySQL strict mode DATE 오류 수정
This commit is contained in:
10
voice/index_utf8.php
Normal file
10
voice/index_utf8.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
require_once $_SERVER["DOCUMENT_ROOT"] . "/session.php";
|
||||
require_once $_SERVER["DOCUMENT_ROOT"] . "/load_header.php";
|
||||
|
||||
// 권한 체크 (레벨 5 이하만 접근)
|
||||
if ($level > 5) {
|
||||
echo "<script>alert('접근 권한이 없습니다.'); history.back();</script>";
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user