23 lines
565 B
PHP
23 lines
565 B
PHP
<?php
|
|
/**
|
|
* @file lguplus.install.php
|
|
* @date 2019-10-13
|
|
* @author Go Namhyeon <abuse@catswords.net>
|
|
* @brief `LGU+`or `LGUPlus` is trandmark of LGUPlus Co. Ltd.
|
|
*/
|
|
|
|
if(!defined("_DEF_RSF_")) set_error_exit("do not allow access");
|
|
|
|
if(!is_fn("lguplus_install")) {
|
|
function lguplus_install() {
|
|
$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());
|
|
|
|
// todo
|
|
}
|
|
}
|