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

@ -54,7 +54,7 @@ class INIpay50 {
/* -------------------------------------------------- */
function GetResult($name) { //Default Entity
$result = $this->m_RESULT[$name];
$result = isset($this->m_RESULT[$name]) ? $this->m_RESULT[$name] : '';
if ($result == "")
$result = $this->m_Data->GetXMLData($name);
if ($result == "")
@ -246,7 +246,7 @@ class INIpay50 {
if($this->m_type == TYPE_ESCROW && ($this->m_Data->m_EscrowType == TYPE_ESCROW_CNF || $this->m_Data->m_EscrowType == TYPE_ESCROW_DNY)) $is_plugin_escrow = TRUE;
if($this->m_REQUEST["pgn"] != "") {
if(isset($this->m_REQUEST["pgn"]) && $this->m_REQUEST["pgn"] != "") {
$host = $this->m_REQUEST["pgn"];
} else {
if ($this->m_type == TYPE_SECUREPAY || $is_plugin_escrow == TRUE) { //plugin
@ -732,6 +732,4 @@ class INIpay50 {
return;
}
}
?>
}