Update and rename lguplus.autoinst.php to lguplus.install.php
This commit is contained in:
parent
f7e445991f
commit
ccdc8de9d3
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @file lguplus.autoinst.php
|
* @file lguplus.install.php
|
||||||
* @date 2019-10-13
|
* @date 2019-10-13
|
||||||
* @author Go Namhyeon <gnh1201@gmail.com>
|
* @author Go Namhyeon <gnh1201@gmail.com>
|
||||||
* @brief `LGU+`or `LGUPlus` is trandmark of LGUPlus Co. Ltd.
|
* @brief `LGU+`or `LGUPlus` is trandmark of LGUPlus Co. Ltd.
|
||||||
|
@ -9,14 +9,14 @@
|
||||||
if(!defined("_DEF_RSF_")) set_error_exit("do not allow access");
|
if(!defined("_DEF_RSF_")) set_error_exit("do not allow access");
|
||||||
|
|
||||||
if(!check_function_exists("install_lguplus")) {
|
if(!check_function_exists("install_lguplus")) {
|
||||||
function install_pgkcp() {
|
function lguplus_install() {
|
||||||
$response = get_web_page("https://openapi.sms.uplus.co.kr/sdkFile/php_sdk.zip");
|
$response = get_web_page("https://openapi.sms.uplus.co.kr/sdkFile/php_sdk.zip");
|
||||||
|
|
||||||
$fw = write_storage_file($response['content'], array(
|
$fw = write_storage_file($response['content'], array(
|
||||||
"extension" => "zip"
|
"extension" => "zip"
|
||||||
));
|
));
|
||||||
@unzip($fw, get_storage_path());
|
@unzip($fw, get_storage_path());
|
||||||
|
|
||||||
// todo
|
// todo
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user