public folder (cPanel → Domains → Manage → document root
/home/you/pagemint/public). The included .htaccess protects the other setup, but this one exposes nothing else.APP_DEBUG=false; Site Doctor warns if it is ever turned on./.env could ever be downloaded (Site Doctor checks it), fix the document root first, then change the
database password and the gateway and e-mail passwords stored in the admin.What Pagemint already does for you: forms are protected against cross-site requests, sign-in, contact and every endpoint that does work are rate-limited, uploads to the server are checked by their content and stored outside the web root, and gateway and API keys are stored encrypted.
Back up these four things — your host's daily backups (cPanel → Backup, or JetBackup) usually cover them:
| What | Where | Why |
|---|---|---|
| The database | MySQL/MariaDB (cPanel → phpMyAdmin → Export), or database/database.sqlite |
members, plans, payments, settings, content |
The .env file |
the site's main folder | holds the database login and the APP_KEY, which unlocks the encrypted gateway keys — keep a copy somewhere safe |
storage/app |
the site's main folder | server conversions in progress (and, with one-click updates, the license and update backups) |
public/media |
inside public |
your logos, icon and blog pictures |
Back up before every update you install (see Updating).
.env with the same APP_KEY.database.sqlite back.