php8.0 버전에서 경고메시지 나오는 코드 추가 수정

This commit is contained in:
thisgun committed 2021-01-04 17:58:25 +09:00
1 parent 5f05e5cfe9
commit 77b53160b5
2 files changed
+4 -1

No files matched your search

+2
View File
@@ -9,6 +9,8 @@ if (!($token && $delete_token == $token))
//$wr = sql_fetch(" select * from $write_table where wr_id = '$wr_id' ");
$count_write = $count_comment = 0;
@include_once($board_skin_path.'/delete.head.skin.php');
if ($is_admin == 'super') // 최고관리자 통과
+2 -1
View File
@@ -4,7 +4,8 @@ include_once('./_common.php');
if($is_guest)
alert('회원이시라면 로그인 후 이용해 주십시오.', G5_URL);
$token = isset($_REQUEST['token']) ? $_REQUEST['token'] : '';
$token = isset($_REQUEST['token']) ? clean_xss_tags($_REQUEST['token'], 1, 1) : '';
$qa_id = isset($_REQUEST['qa_id']) ? (int) $_REQUEST['qa_id'] : 0;
$delete_token = get_session('ss_qa_delete_token');
set_session('ss_qa_delete_token', '');