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');
$pp_id = isset($_REQUEST['pp_id']) ? preg_replace('/[^0-9]/', '', $_REQUEST['pp_id']) : 0;
if (G5_IS_MOBILE) {
include_once(G5_MSHOP_PATH.'/personalpayresult.php');
return;
@ -8,7 +10,7 @@ if (G5_IS_MOBILE) {
$sql = "select * from {$g5['g5_shop_personalpay_table']} where pp_id = '$pp_id' ";
$pp = sql_fetch($sql);
if (!$pp['pp_id'] || (md5($pp['pp_id'].$pp['pp_time'].$_SERVER['REMOTE_ADDR']) != get_session('ss_personalpay_uid'))) {
if (! (isset($pp['pp_id']) && $pp['pp_id']) || (md5($pp['pp_id'].$pp['pp_time'].$_SERVER['REMOTE_ADDR']) != get_session('ss_personalpay_uid'))) {
alert("조회하실 개인결제 내역이 없습니다.", G5_SHOP_URL);
}
@ -315,5 +317,4 @@ if($pp['pp_pg'] == 'lg') {
<!-- } 개인결제상세내역 끝 -->
<?php
include_once('./_tail.php');
?>
include_once('./_tail.php');