Create lguplus.autoinst.php

This commit is contained in:
Namhyeon Go 2019-10-13 22:40:52 +09:00 committed by GitHub
parent 74188463c3
commit ab018b8a70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,22 @@
<?php
/**
* @file lguplus.autoinst.php
* @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");
if(!check_function_exists("install_lguplus")) {
function install_pgkcp() {
$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
}
}