코드 정리
This commit is contained in:
@ -158,7 +158,7 @@ class C_PAYPLUS_CLI
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN')
|
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN')
|
||||||
{
|
{
|
||||||
$bin_exe = $home_dir.'/bin/pp_cli_exe ';
|
$bin_exe = $home_dir.'/bin/pp_cli_exe ';
|
||||||
|
|
||||||
$res_data = $this->mf_exec($bin_exe . "\"".
|
$res_data = $this->mf_exec($bin_exe . "\"".
|
||||||
@ -181,9 +181,9 @@ class C_PAYPLUS_CLI
|
|||||||
$escw_data .
|
$escw_data .
|
||||||
$modx_data .
|
$modx_data .
|
||||||
"\"") ;
|
"\"") ;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(PHP_INT_MAX == 2147483647) // 32-bit
|
if(PHP_INT_MAX == 2147483647) // 32-bit
|
||||||
$bin_exe = $home_dir.'/bin/pp_cli';
|
$bin_exe = $home_dir.'/bin/pp_cli';
|
||||||
else
|
else
|
||||||
@ -209,7 +209,7 @@ class C_PAYPLUS_CLI
|
|||||||
"cust_ip=" . $cust_ip . "," .
|
"cust_ip=" . $cust_ip . "," .
|
||||||
"log_level=" . $log_level . "," .
|
"log_level=" . $log_level . "," .
|
||||||
"opt=" . $opt . "" );
|
"opt=" . $opt . "" );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $res_data == "" )
|
if ( $res_data == "" )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user