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:
parent
438e6c8eb2
commit
7e4c29edc7
4 changed files with 72 additions and 11 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue