|
|
il y a 1 mois | |
|---|---|---|
| admin | il y a 1 mois | |
| assets | il y a 1 mois | |
| data | il y a 1 mois | |
| docs | il y a 1 mois | |
| includes | il y a 1 mois | |
| .gitignore | il y a 1 mois | |
| .htaccess | il y a 1 mois | |
| README.md | il y a 1 mois | |
| cart.php | il y a 3 mois | |
| checkout.php | il y a 1 mois | |
| config.sample.php | il y a 1 mois | |
| faq.php | il y a 1 mois | |
| favicon.png | il y a 1 mois | |
| index.php | il y a 1 mois | |
| orders.php | il y a 1 mois | |
| product.php | il y a 1 mois | |
| reservation.php | il y a 3 mois |
data/.htaccess aktivierenIm Projektordner liegt die zentrale Datei unter:
.htaccessEin separates data/.htaccess wird nicht mehr verwendet, da der Zugriff auf /data zentral in der Root-.htaccess gesperrt ist.
config.php einrichtenIn config.php mindestens diese Werte anpassen:
SITE_NAMESITE_URLADMIN_EMAIL (Fallback-Empfänger)FROM_EMAILFROM_NAMEORDER_PREFIX, RESERVATION_EXPIRY_DAYSORDER_HISTORY_COOKIE_SECRET (Pflicht für signierte Browser-Bestellhistorie)Konfigurations-Referenz mit Zweck und Laufzeitnutzung jeder Konstante:
docs/CONFIG_REFERENCE.mdAdmin-Logins und Admin-Benachrichtigungs-E-Mails werden aus data/admins.json geladen (nicht aus ADMIN_USERS in config.php).
Details:
docs/ADMIN_SYSTEM.mdFür die Seite Meine Bestellungen wird eine signierte, browsergebundene Historie genutzt.
config.php einen eigenen Wert für ORDER_HISTORY_COOKIE_SECRETORDER_HISTORY_COOKIE_NAMEORDER_HISTORY_COOKIE_TTL_DAYSORDER_HISTORY_MAX_IDSDetails zur Funktion und zum Sicherheitsmodell:
docs/ORDER_HISTORY.mddata/faq.json geladen (FAQ_FILE in config.php).admin/faq.php.