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

This commit is contained in:
thisgun
2021-01-04 15:39:15 +09:00
parent 131b170b54
commit 27e9af5e42
1009 changed files with 12120 additions and 10849 deletions

View File

@ -1,6 +1,8 @@
<?php
include_once('./_common.php');
$it_id = isset($_REQUEST['it_id']) ? safe_replace_regex($_REQUEST['it_id'], 'it_id') : '';
if( !isset($it) && !get_session("ss_tv_idx") ){
if( !headers_sent() ){ //헤더를 보내기 전이면 검색엔진에서 제외합니다.
echo '<meta name="robots" content="noindex, nofollow">';
@ -83,5 +85,4 @@ if(!file_exists($itemqa_skin)) {
echo str_replace(G5_PATH.'/', '', $itemqa_skin).' 스킨 파일이 존재하지 않습니다.';
} else {
include_once($itemqa_skin);
}
?>
}