댓글 삭제 토큰 코드 수정

This commit is contained in:
chicpro
2016-06-28 10:25:55 +09:00
parent 2a9e72da41
commit cb327e902f
3 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ switch ($w) {
$return_url = './board.php?bo_table='.$bo_table.'&wr_id='.$wr_id;
break;
case 'x' :
set_session('ss_delete_comment_token', $token = uniqid(time()));
set_session('ss_delete_comment_'.$comment_id.'_token', $token = uniqid(time()));
$action = './delete_comment.php?token='.$token;
$row = sql_fetch(" select wr_parent from $write_table where wr_id = '$comment_id' ");
$return_url = './board.php?bo_table='.$bo_table.'&wr_id='.$row['wr_parent'];