Create pgkcp.lnk.php
This commit is contained in:
parent
d101bbe6f2
commit
6d9f66465d
18
helper/pgkcp.lnk.php
Normal file
18
helper/pgkcp.lnk.php
Normal 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();
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user