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,13 +1,15 @@
<?php
include_once('./_common.php');
$pp_id = isset($_REQUEST['pp_id']) ? preg_replace('/[^0-9]/', '', $_REQUEST['pp_id']) : 0;
// 모바일 주문인지
$is_mobile_pay = is_mobile();
$sql = " select * from {$g5['g5_shop_personalpay_table']} where pp_id = '$pp_id' and pp_use = '1' and pp_price > 0 ";
$pp = sql_fetch($sql);
if(!$pp['pp_id'])
if(! (isset($pp['pp_id']) && $pp['pp_id']))
alert('개인결제 정보가 존재하지 않습니다.');
if($pp['pp_tno'])
@ -56,5 +58,4 @@ if($is_mobile_pay) {
if(G5_IS_MOBILE)
include_once(G5_MSHOP_PATH.'/_tail.php');
else
include_once(G5_SHOP_PATH.'/_tail.php');
?>
include_once(G5_SHOP_PATH.'/_tail.php');