Phase 5: Final validation and remaining reference updates

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-09-08 16:08:38 +00:00
parent 0ea24764e3
commit 815f2b0b0c
64 changed files with 144 additions and 144 deletions

View file

@ -510,7 +510,7 @@ function api_user_games()
}
}
else
$game_path = "/home/".$remote_server['ogp_user']."/User_Files/"; // Default
$game_path = "/home/".$remote_server['gsp_user']."/User_Files/"; // Default
$game_path = clean_path($game_path); // Clean it
@ -611,7 +611,7 @@ function api_user_games()
}
}
else
$game_path = "/home/".$game_home['ogp_user']."/User_Files/"; // Default
$game_path = "/home/".$game_home['gsp_user']."/User_Files/"; // Default
$game_path = clean_path($game_path); // Clean it
@ -641,7 +641,7 @@ function api_user_games()
$db->changeFtpStatus('enabled', $clone_home_id);
}
$user_group = get_user_uid_gid_from_passwd(explode("\n", $remote->sudo_exec('cat /etc/passwd')), $game_home['ogp_user']);
$user_group = get_user_uid_gid_from_passwd(explode("\n", $remote->sudo_exec('cat /etc/passwd')), $game_home['gsp_user']);
$status = "200";
$message = array("clone_home_id" => $clone_home_id, "cloning_status" => $remote->clone_home($game_home['home_path'], $game_path, $user_group));