|
|
|
@ -366,7 +366,7 @@ class AutoPackController extends Think
|
|
|
|
|
$new_name = "game_package" . $value['game_id'] . "-" . $value['promote_id'] . $str_ver;
|
|
|
|
|
$to = "./Uploads/" . $file_name . "/" . $new_name;
|
|
|
|
|
$localPath = ROOTTT . ltrim($to, './');
|
|
|
|
|
copy(get_game_source_file_url($value['game_id']), ROOTTT . ltrim($to, './'));
|
|
|
|
|
copy(get_game_source_file_url($value['game_id']), $localPath);
|
|
|
|
|
$zip_res = $zip -> open(ROOTTT . ltrim($to, './'), \ZipArchive::CREATE);
|
|
|
|
|
if ($zip_res == true) {
|
|
|
|
|
#打包数据
|
|
|
|
|