2019-10-13 13:40:52 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2019-10-13 13:42:41 +00:00
|
|
|
* @file lguplus.install.php
|
2019-10-13 13:40:52 +00:00
|
|
|
* @date 2019-10-13
|
|
|
|
* @author Go Namhyeon <gnh1201@gmail.com>
|
|
|
|
* @brief `LGU+`or `LGUPlus` is trandmark of LGUPlus Co. Ltd.
|
|
|
|
*/
|
|
|
|
|
|
|
|
if(!defined("_DEF_RSF_")) set_error_exit("do not allow access");
|
|
|
|
|
2020-02-10 06:23:04 +00:00
|
|
|
if(!is_fn("lguplus_install")) {
|
2019-10-13 13:42:41 +00:00
|
|
|
function lguplus_install() {
|
2019-10-13 13:40:52 +00:00
|
|
|
$response = get_web_page("https://openapi.sms.uplus.co.kr/sdkFile/php_sdk.zip");
|
|
|
|
|
|
|
|
$fw = write_storage_file($response['content'], array(
|
|
|
|
"extension" => "zip"
|
|
|
|
));
|
|
|
|
@unzip($fw, get_storage_path());
|
2019-10-13 13:42:41 +00:00
|
|
|
|
2019-10-13 13:40:52 +00:00
|
|
|
// todo
|
|
|
|
}
|
|
|
|
}
|