|
|
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 | |
| README.md | il y a 1 mois | |
| cart.php | il y a 2 mois | |
| checkout.php | il y a 2 mois | |
| config.php | il y a 1 mois | |
| default.htaccess | il y a 1 mois | |
| favicon.ico | il y a 1 mois | |
| index.php | il y a 1 mois | |
| product.php | il y a 2 mois | |
| reservation.php | il y a 2 mois |
data/.htaccess aktivierenIm Projektordner liegt eine Vorlage unter data/default.htaccess.
Benenne sie um in:
data/.htaccessBeispiel:
mv data/default.htaccess data/.htaccess
config.php einrichtenIn config.php mindestens diese Werte anpassen:
SITE_NAMESITE_URLADMIN_EMAILFROM_EMAILFROM_NAMEORDER_PREFIX, RESERVATION_EXPIRY_DAYSPasse ADMIN_USERS an:
Beispielstruktur:
define('ADMIN_USERS', [
'admin' => '...bcrypt-hash...',
'manager' => '...bcrypt-hash...'
]);
Generate the password: https://www.onlinewebtoolkit.com/hash-generator using the crypt functionality.