Merge branch 'master' of github.com:gnuboard/yc4s
This commit is contained in:
BIN
shop/kcp/bin/pp_cli_x64
Executable file
BIN
shop/kcp/bin/pp_cli_x64
Executable file
Binary file not shown.
Binary file not shown.
@ -165,7 +165,16 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
$res_data = $this->mf_exec( $home_dir . "/bin/pp_cli",
|
||||
if(strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN') {
|
||||
if(PHP_INT_MAX == 2147483647) // 32-bit
|
||||
$bin_exe = $home_dir.'/bin/pp_cli';
|
||||
else
|
||||
$bin_exe = $home_dir.'/bin/pp_cli_x64';
|
||||
} else {
|
||||
$bin_exe = $home_dir.'/bin/pp_cli_exe.exe';
|
||||
}
|
||||
|
||||
$res_data = $this->mf_exec( $bin_exe,
|
||||
"-h",
|
||||
"home=" . $home_dir . "," .
|
||||
"site_cd=" . $site_cd . "," .
|
||||
|
||||
@ -56,7 +56,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
|
||||
$list[$i]['g_dir'] = G5_URL;
|
||||
$list[$i]['it_id'] = $row['it_id'];
|
||||
$list[$i]['it_simg'] = get_it_image($row['it_id'], $default['de_simg_width'], $default['de_simg_height']);
|
||||
$list[$i]['it_simg'] = get_it_image($row['it_id'], 70, 70);
|
||||
$list[$i]['it_name'] = $row['it_name'];
|
||||
$list[$i]['it_origin'] = $row['it_origin'];
|
||||
$list[$i]['it_opt'] = $options;
|
||||
|
||||
@ -76,7 +76,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
$options .= '</ul>';
|
||||
|
||||
$list[$i]['it_id'] = $row['it_id'];
|
||||
$list[$i]['it_simg'] = get_it_image($row['it_id'], $default['de_simg_width'], $default['de_simg_height']);
|
||||
$list[$i]['it_simg'] = get_it_image($row['it_id'], 70, 70);
|
||||
$list[$i]['it_name'] = $row['it_name'];
|
||||
$list[$i]['it_opt'] = $options;
|
||||
$list[$i]['ct_price'] = $sum['price'];
|
||||
|
||||
Reference in New Issue
Block a user