php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용

This commit is contained in:
thisgun
2021-01-04 15:33:29 +09:00
parent 10d377de7d
commit 582d1a01f4
852 changed files with 120617 additions and 6307 deletions

View File

@ -36,7 +36,7 @@ if ($row['cnt'])
exit;
}
$wr_content = trim($_POST['wr_content']);
$wr_content = isset($_POST['wr_content']) ? trim($_POST['wr_content']) : '';
// 덧글이 넘어오고 코멘트를 쓸 권한이 있다면
if ($wr_content && ($member['mb_level'] >= $board['bo_comment_level']))
@ -117,5 +117,4 @@ echo <<<HEREDOC
<p>이 글을 스크랩 하였습니다.</p>
<a href="./scrap.php">스크랩 확인하기</a>
</noscript>
HEREDOC;
?>
HEREDOC;