BRENNA SALOTTI CMS — DEPLOYMENT
===============================

Target: https://ariaa.tech/salotti/

1. Upload all files/folders into /salotti/.
2. Ensure PHP can write to config/database.php and uploads/.
3. Open https://ariaa.tech/salotti/install.php
4. Enter the cPanel/MySQL DB details and create the first admin.
5. Login at https://ariaa.tech/salotti/admin/
6. IMPORTANT: delete or rename install.php after setup.

Included:
- Dashboard KPIs
- Secure admin login (password_hash)
- CSRF protection
- Products + cover + multiple gallery uploads
- Categories
- Designs / moodboards
- Hero slides
- Media library
- Lead pipeline
- Contact / SEO / WhatsApp settings
- Dynamic public homepage and catalogue
- Upload validation and script blocking in uploads

Note: the earlier static prototype can remain as design reference. This package provides the CMS foundation for production.


ADMIN LANGUAGE
--------------
The admin dashboard is bilingual EN / IT.
Use the EN / IT selector at the top-right.
Default language is English.

IMAGE UPLOAD PATHS
------------------
Product cover + galleries:
  /salotti/uploads/products/

Categories:
  /salotti/uploads/categories/

Designs / moodboards:
  /salotti/uploads/designs/

Homepage hero / slider:
  /salotti/uploads/hero/

General media:
  /salotti/uploads/media/

Public example:
  https://ariaa.tech/salotti/uploads/products/filename.jpg

Normally use the Command Center upload buttons; the CMS places each file in
the correct folder automatically.


HTTP 500 TROUBLESHOOTING
------------------------
This compatibility build avoids PHP 8.1-only syntax and should work on PHP 7.4+.

1. Upload the package to the DOCUMENT ROOT of:
   https://salotti.ariaa.tech/

2. First open:
   https://salotti.ariaa.tech/test.php

3. Then:
   https://salotti.ariaa.tech/healthcheck.php

4. Then:
   https://salotti.ariaa.tech/install.php

If test.php itself gives HTTP 500, the issue is at hosting/subdomain/PHP configuration level,
not the CMS.

If test.php works but install.php fails, check PHP version, PDO MySQL, permissions, and cPanel error_log.

For this subdomain setup, files should normally be placed directly in the subdomain's document root,
NOT inside another /salotti/ folder unless cPanel points the subdomain there.
