fixed bad links
This commit is contained in:
parent
b585aec260
commit
7e9a45f014
79 changed files with 2395 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ This is the master module inventory for the Panel. Use it as the first stop befo
|
|||
| [`user_admin`](user_admin.md) | User management | Production | Keep / Improve |
|
||||
| [`user_games`](user_games.md) | Server provisioning and assignment | Production / functional | Keep / Improve |
|
||||
| [`util`](util.md) | Miscellaneous utility tools | Functional / mixed | Keep / Rewrite selectively |
|
||||
| [`website`](website.md) | Public Gameservers.World sales and documentation website | Functional / newly modularized | Keep / Improve |
|
||||
|
||||
## Shared Dependencies
|
||||
|
||||
|
|
|
|||
59
docs/modules/website.md
Normal file
59
docs/modules/website.md
Normal 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`
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue