Add last startup command display feature

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-09-05 22:00:17 +00:00
parent 5e41da1247
commit 662582823d
5 changed files with 47 additions and 3 deletions

View file

@ -582,6 +582,8 @@ elseif($server_home['home_id'] == $_POST['home_id'])
}
//Save the param used to the database
$db->changeLastParam($server_home['home_id'],json_encode($save_param));
//Save the startup command to the database
$db->changeLastStartupCmd($server_home['home_id'], $start_cmd);
echo "<table class='server-starting'>";
echo "<tr><td class='right'>". get_lang("ogp_agent_ip") .