불필요한 PHP 5.1 이하 코드 삭제
json_encode, json_decode 는 PHP 5.2 부터 PHP 코어에 내장되어있습니다. https://php-legacy-docs.zend.com/manual/php5/en/json.requirements https://php-legacy-docs.zend.com/manual/php5/en/book.json
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
include_once(G5_LIB_PATH.'/json.lib.php');
|
||||
|
||||
if(!$member['mb_id'])
|
||||
die(json_encode(array('error' => '회원 로그인 후 이용해 주십시오.')));
|
||||
@ -66,4 +65,4 @@ if($result && $cp['cz_type'])
|
||||
// 다운로드 증가
|
||||
sql_query(" update {$g5['g5_shop_coupon_zone_table']} set cz_download = cz_download + 1 where cz_id = '$cz_id' ");
|
||||
|
||||
die(json_encode(array('error' => '')));
|
||||
die(json_encode(array('error' => '')));
|
||||
|
||||
Reference in New Issue
Block a user