# DexaHost Billing (fork of PNLCS)

Base: PNLCS 1.5.1-beta.1 (upstream: github.com/Panelica/pnlcs), MIT licensed.
Source of this copy: the Truehost Reseller Panel build running at my.dexahost.com.
LICENSE is unchanged. Keep it and the copyright notice in every copy you ship.

## Changed from the original
- Default app name: "Truehost Reseller Panel" -> "DexaHost Billing" (config/app.php, app/Support/formatting.php, .env.example)
- Removed: .env (live secrets), .pnlcs-build.json (Truehost Docker image pointer), runtime storage (logs, cache, sessions, backups, uploads, update runs)

- Added theme `dexahost` (themes/ and public/themes/), now the default active theme (ThemeManager, ThemeInfo)
- Client layout: body and headings now use the theme font tokens; DM Sans and Sora added to the Google Fonts links

## Still tied to upstream (decide before going live)
- Updater (config/updates.php) reads signed releases from Panelica/pnlcs on GitHub and refuses unsigned packages.
  To own your update path: host releases in your own repo and set PNLCS_UPDATE_INDEX_URL + PNLCS_UPDATE_PUBLIC_KEY.
  Until then, do NOT run Setup -> Updates on a customised install without testing on staging.
- Optional modules mention Truehost/Panelica (Truehost registrar, flavor theme footer). Harmless; remove if unused.

## Install (cPanel account, PHP 8.4)
1. Upload and extract; point the web root at dexahost-billing/public.
2. Create DB + user in cPanel, copy .env.example to .env, fill DB_*.
3. php artisan key:generate && php artisan migrate --force (or use /install).
4. Cron every minute: php artisan schedule:run
