변경 파일 목록
총 1개
Component (1)
BankdaGhostDepositor.phpBankda/변경 파일 코드
추가삭제
변경 전BankdaGhostDepositor.php
| throw new AlertCloseException('사용할 수 없습니다.'); | |
| } | |
| $eval_json = array(); | |
| $_quoted = false; | |
| $_out = '$eval_json='; | |
| for ($i=0,$max=strlen($json); $i<$max; $i++) { | |
| if (! $_quoted) { | |
| if ($json[$i] == '{') $_out .= ' array('; | |
| else if ($json[$i] == '}') $_out .= ')'; | |
| else if ($json[$i] == ':') $_out .= '=>'; | |
| else if ($json[$i] == '[') $_out .= ' array('; | |
| else if ($json[$i] == ']') $_out .= ')'; | |
| else $_out .= $json[$i]; | |
| } else { | |
| $_out .= $json[$i]; | |
| } | |
| if ($json[$i] == '"') $_quoted = ! $_quoted; | |
| } | |
| @eval($_out.';'); | |
| $paging = ''; | |
| $loop = []; | |
| $_page = []; | |
변경 후BankdaGhostDepositor.php
| throw new AlertCloseException('사용할 수 없습니다.'); | |
| } | |
| $eval_json = json_decode($json, true); | |
| if (is_array($eval_json) === false) { | |
| $eval_json = []; | |
| } | |
| $paging = ''; | |
| $loop = []; | |
| $_page = []; | |