Website22 - FTP Upload Guide
============================

Folders
-------
/public   => web root (document root)
/includes => private PHP logic (not public)
/data     => private database/uploads/config (not public)

Quick install
-------------
1) Upload all three folders: data/, includes/, public/
2) Point your domain to /public as the root.
3) Visit: https://your-domain/setup.php
4) Create first admin + site settings.
5) Login at: https://your-domain/admin

Admin allowlist emergency tool
------------------------------
If your IP changes and /admin returns 404:
1) Copy /data/allowlist_tool.php to /public/allowlist_tool.php
2) Open /allowlist_tool.php and enter the setup token from data/config.php
3) Add/remove allowed admin IPs or create another admin
4) Delete /public/allowlist_tool.php immediately

Security notes
--------------
- Keep /data and /includes outside web root if possible.
- If hosting forces same root, .htaccess files deny direct access.
- Uploads are stored in /data/uploads and served through protected media endpoint.
- Never keep setup or allowlist tool publicly accessible longer than needed.

Feature controls in Admin > Settings
------------------------------------
- SEO: site meta description
- Editable content pages: About, DMCA, Legal
- Pagination size
- Default board rule limits
- Anti-spam limits

SMTP (optional email features)
------------------------------
To enable email-based flows, fill SMTP settings in Admin > Settings:
- SMTP Host (example: pro2.mail.ovh.net)
- SMTP Port (example: 587)
- SMTP Username (example: support@celestiadominance.com)
- SMTP Password
- Security: tls / ssl / none

Then optionally enable:
- Email verification for new accounts
- Password reset via email
- Contact form forwarding via email
