NISHAT LINEN PAYROLL — CPANEL INSTALLATION

1. In cPanel, create a subdomain and point it to an empty folder.
2. Create a MySQL database and database user. Give the user ALL PRIVILEGES.
3. Upload the ZIP and extract all files into the subdomain folder.
4. Open the subdomain in your browser.
5. The first-time installer will ask for database details and your admin username/password.
6. After successful installation, delete install.php or rename it for extra security.
7. In Settings, upload the main logo and black receipt logo.
8. Add/update branch receipt addresses and phone numbers.
9. Import employees using employee_import_template.csv or add them one by one.

RECOMMENDED PHP SETTINGS
- PHP 8.1 or newer
- Extensions: PDO MySQL, mbstring, fileinfo, SimpleXML
- Zip extension is optional and only needed for XLSX import; CSV works without it.
- upload_max_filesize: 4M is enough

MOVING TO ANOTHER DOMAIN
- Move all files.
- Export/import the database or use the app's Backup feature.
- Update only config.php if database credentials change.
- No domain name is hardcoded; relative URLs are used.

SPACE USAGE
- App files are intentionally lightweight.
- Reports and payslips are generated on demand and are not stored.
- Only two logo files are stored in uploads/.
- Manual database backups download directly and are not retained on the server.
