1.4 KiB
1.4 KiB
Website
Workspace reference: 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:
DocumentRoot->Panel/modules/website- Apache
Alias /billing->Panel/modules/billing - Configure:
public_base_urlbilling_base_urlpanel_urllogin_url
Key Public Pages
index.phpserverlist.phpdocs.phppricing.phplocations.phpsupport.phplogin.php