Create pgkcp.lnk.php

This commit is contained in:
Namhyeon Go 2018-08-25 01:18:55 +09:00 committed by GitHub
parent d101bbe6f2
commit 6d9f66465d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
helper/pgkcp.lnk.php Normal file
View File

@ -0,0 +1,18 @@
<?php
/**
* @file pgkcp.lnk.php
* @date 2018-08-25
* @author Go Namhyeon <gnh1201@gmail.com>
* @brief KCP PG(Payment Gateway) Helper
*/
if(!defined("_DEF_RSF_")) set_error_exit("do not allow access");
// include configuration file
$inc_file = get_current_working_dir() . "/vendor/pgkcp/cfg/site_conf_inc.php";
if(file_exists($inc_file)) {
include($inc_file);
} else {
set_error("PGKCP Configuration File does not exists.");
show_errors();
}