fix: resolve XML path for billing provisioning, set server_expiration_date, 6-char passwords

Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/ce009e66-16ae-4ca7-a28c-5dac466cc014

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-05-09 15:27:53 +00:00 committed by GitHub
parent 438e6c8eb2
commit 7e4c29edc7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 72 additions and 11 deletions

View file

@ -35,6 +35,10 @@ if (!function_exists('billing_panel_bootstrap')) {
static $includeInjected = false;
if (!$includeInjected) {
set_include_path($root . PATH_SEPARATOR . get_include_path());
// Change CWD to the panel root so that SERVER_CONFIG_LOCATION and other
// relative paths (e.g. XML_SCHEMA) resolve correctly when billing endpoints
// run outside of home.php (e.g. api/capture_order.php, PayPal webhooks).
chdir($root);
$includeInjected = true;
}