Update pgkcp.lnk.php

This commit is contained in:
Namhyeon Go 2018-09-25 03:04:42 +09:00 committed by GitHub
parent 07caa85031
commit 257e31b93a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,12 +49,12 @@ if(!function_exists("get_pgkcp_config")) {
}
if(!function_exists("get_pgkcp_platform")) {
function get_pgkcp_platform($config) {
function get_pgkcp_platform($pgkcp_config) {
$platform = false;
$exe_files = array(
"linux" => $config['g_conf_home_dir'] . "/bin/pp_cli",
"windows" => $config['g_conf_home_dir'] . "/bin/pp_cli.exe"
"linux" => $pgkcp_config['g_conf_home_dir'] . "/bin/pp_cli",
"windows" => $pgkcp_config['g_conf_home_dir'] . "/bin/pp_cli.exe"
);
foreach($exe_files as $k=>$v) {