Update pgkcp.lnk.php

This commit is contained in:
Namhyeon Go 2019-10-13 00:44:30 +09:00 committed by GitHub
parent bb09665916
commit 25e40067fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,9 +13,9 @@ loadHelper("json.format");
loadHelper("webpagetool");
if(!check_function_exists("get_pgkcp_config")) {
function get_pgkcp_dir() {
return get_current_working_dir() . "/vendor/_dist/pgkcp";
}
function get_pgkcp_dir() {
return get_current_working_dir() . "/vendor/_dist/pgkcp";
}
}
if(!check_function_exists("get_pgkcp_config")) {
@ -105,8 +105,11 @@ if(!check_function_exists("load_pgkcp_library")) {
if(!check_function_exists("install_pgkcp")) {
function install_pgkcp() {
$response = get_web_page("https://admin8.kcp.co.kr/assist/download/sampleDownload", "get", array(
"type1" => "FM01",
"type1" => "FM01",
"type2" => "FS04"
));
$fw = write_storage_file($response['content'], array(
"filename" => "kcp-sdk.zip"
));
}
}