Update pgkcp.lnk.php
This commit is contained in:
parent
07caa85031
commit
257e31b93a
|
@ -49,12 +49,12 @@ if(!function_exists("get_pgkcp_config")) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!function_exists("get_pgkcp_platform")) {
|
if(!function_exists("get_pgkcp_platform")) {
|
||||||
function get_pgkcp_platform($config) {
|
function get_pgkcp_platform($pgkcp_config) {
|
||||||
$platform = false;
|
$platform = false;
|
||||||
|
|
||||||
$exe_files = array(
|
$exe_files = array(
|
||||||
"linux" => $config['g_conf_home_dir'] . "/bin/pp_cli",
|
"linux" => $pgkcp_config['g_conf_home_dir'] . "/bin/pp_cli",
|
||||||
"windows" => $config['g_conf_home_dir'] . "/bin/pp_cli.exe"
|
"windows" => $pgkcp_config['g_conf_home_dir'] . "/bin/pp_cli.exe"
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach($exe_files as $k=>$v) {
|
foreach($exe_files as $k=>$v) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user