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 (!$is_member)
alert_close('회원만 메일을 발송할 수 있습니다.');
@ -9,7 +11,7 @@ $token = md5(uniqid(rand(), true));
set_session("ss_token", $token);
$it = get_shop_item($it_id, true);
if (!$it['it_name'])
if (! (isset($it['it_name']) && $it['it_name']))
alert_close("등록된 상품이 아닙니다.");
$g5['title'] = $it['it_name'].' - 추천하기';
@ -57,5 +59,4 @@ function fitemrecommend_check(f)
</script>
<?php
include_once(G5_PATH.'/tail.sub.php');
?>
include_once(G5_PATH.'/tail.sub.php');