|
|
hace 5 horas | |
|---|---|---|
| admin | hace 5 horas | |
| app | hace 5 horas | |
| assets | hace 5 horas | |
| config | hace 5 horas | |
| data | hace 1 mes | |
| docs | hace 5 horas | |
| gallery | hace 5 horas | |
| media | hace 1 mes | |
| .gitignore | hace 1 mes | |
| .htaccess | hace 5 horas | |
| README.md | hace 6 horas | |
| contact.php | hace 1 mes | |
| datenschutz.php | hace 1 mes | |
| impressum.php | hace 1 mes | |
| index.php | hace 1 mes | |
| router.php | hace 5 horas | |
| showreel.php | hace 1 mes | |
| upload-api.php | hace 7 horas | |
| upload.php | hace 6 horas | |
| worker.php | hace 5 horas |
A flat-file PHP website for photographers, built for plain shared webhosting. No database, no framework, no build step — upload via FTP/SFTP and it runs.
curl and openssl (standard on shared hosting).htaccess support (or any server with the document root
pointed at this folder)cp config/config.sample.php config/config.php # fill in S3 + site settings
cp config/credentials.sample.php config/credentials.php # default login: admin / changeme
php -S localhost:8080 router.php # local preview
Then open http://localhost:8080/admin/, log in, and change the password first (Settings).
Upload the contents of this folder straight into your document root —
index.php is the home page.
index.php landing page ← document root
showreel.php
gallery/ client galleries (/gallery/?g=<slug>)
admin/ backoffice
assets/ css + js
media/ local images (hero + showreel)
app/ PHP library code ┐
config/ config + credentials├─ inside the docroot but blocked by .htaccess
data/ flat-file storage ┘
docs/ documentation
router.php local dev only (php -S)