fixed bad links

This commit is contained in:
Frank Harris 2026-06-15 20:04:55 -05:00
parent b585aec260
commit 7e9a45f014
79 changed files with 2395 additions and 0 deletions

59
docs/modules/website.md Normal file
View file

@ -0,0 +1,59 @@
# Website
Workspace reference: [`GSP-WORKSPACE.md`](../../../GSP-WORKSPACE.md)
## Purpose
Public Gameservers.World sales, documentation, and customer-entry website.
## Runtime Location
- Canonical public site: `Panel/modules/website/`
- Billing catalog and order flow: `Panel/modules/billing/`
- Legacy compatibility site: `Website/`
## Design Rules
- Public pages must load without fatal errors when billing config is missing
- Path and URL handling must be centralized
- Panel and login URLs must be configuration-driven
- Documentation must be readable without depending on billing database access
- Catalog pages may degrade gracefully when billing data is unavailable
## Helpers
The website module centralizes these helpers in `includes/bootstrap.php`:
- `website_url()`
- `website_asset()`
- `panel_url()`
- `login_url()`
- `billing_url()`
- `documentation_url()`
## Billing Interaction
The website does not include the billing config loader directly. It reads panel or billing DB values safely, uses them only when needed, and avoids public fatal errors tied to missing config files.
## Deployment
Recommended:
1. `DocumentRoot` -> `Panel/modules/website`
2. Apache `Alias /billing` -> `Panel/modules/billing`
3. Configure:
- `public_base_url`
- `billing_base_url`
- `panel_url`
- `login_url`
## Key Public Pages
- `index.php`
- `serverlist.php`
- `docs.php`
- `pricing.php`
- `locations.php`
- `support.php`
- `login.php`