|
|
2 долоо хоног өмнө | |
|---|---|---|
| admin | 2 долоо хоног өмнө | |
| app | 2 долоо хоног өмнө | |
| assets | 1 сар өмнө | |
| config | 2 долоо хоног өмнө | |
| data | 3 сар өмнө | |
| docs | 2 долоо хоног өмнө | |
| gallery | 1 сар өмнө | |
| manage-client | 1 сар өмнө | |
| media | 3 сар өмнө | |
| migrations | 1 сар өмнө | |
| scripts | 2 долоо хоног өмнө | |
| .gitignore | 1 сар өмнө | |
| .htaccess | 1 сар өмнө | |
| README.md | 1 сар өмнө | |
| contact.php | 3 сар өмнө | |
| cron.php | 2 долоо хоног өмнө | |
| datenschutz.php | 3 сар өмнө | |
| impressum.php | 3 сар өмнө | |
| index.php | 3 сар өмнө | |
| manage-worker.php | 1 сар өмнө | |
| robots.txt | 1 сар өмнө | |
| router.php | 1 сар өмнө | |
| showreel.php | 3 сар өмнө | |
| upload-api.php | 1 сар өмнө | |
| upload.php | 1 сар өмнө | |
| worker.php | 1 сар өмнө |
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.
v1.2.0 — semantic versioning, vMAJOR.MINOR.PATCH. The number lives in
app/version.php; the release script writes it and an update
carries it along. See docs/SETUP.md §5a.
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)
worker.php background archive builder
manage-worker.php background backup + heartbeat
app/ PHP library code ┐
config/ config + credentials │
data/ flat-file storage │ inside the docroot,
docs/ documentation ├─ but blocked
manage-client/ backup + update client │ by .htaccess
migrations/ one-time release scripts │
scripts/ release build + cron examples ┘
router.php local dev only (php -S)