説明なし

Medowar 5a5209c139 improoving security, adding readme 1 ヶ月 前
admin 077a2dd0a3 moving admintables to lists when screen is not wide enough 1 ヶ月 前
assets 077a2dd0a3 moving admintables to lists when screen is not wide enough 1 ヶ月 前
data 5a5209c139 improoving security, adding readme 1 ヶ月 前
includes 2b01b89590 making footer links prod 1 ヶ月 前
README.md 5a5209c139 improoving security, adding readme 1 ヶ月 前
cart.php 76871458c4 fixing mobile responsiveness 1 ヶ月 前
checkout.php 76871458c4 fixing mobile responsiveness 1 ヶ月 前
config.php 8b4fedf193 refactor terminology from "Nachbestellung" to "Vorbestellung" across 2 ヶ月 前
default.htaccess 5a5209c139 improoving security, adding readme 1 ヶ月 前
index.php ea36c4ceb4 adding disclaimer and legal links to site 1 ヶ月 前
product.php 8b4fedf193 refactor terminology from "Nachbestellung" to "Vorbestellung" across 2 ヶ月 前
reservation.php 8b4fedf193 refactor terminology from "Nachbestellung" to "Vorbestellung" across 2 ヶ月 前

README.md

Feuerwehr Vereinsshop - Setup

Voraussetzungen

  • PHP 8.x
  • Webserver
  • Schreibrechte auf data/

1) .htaccess aktivieren

Im Projektordner liegt eine Vorlage unter data/default.htaccess.

Benenne sie um in:

  • data/.htaccess

Beispiel:

mv data/default.htaccess data/.htaccess

2) Globale Config und Admins im config.php einrichten

In config.php mindestens diese Werte anpassen:

  • SITE_NAME
  • SITE_URL
  • ADMIN_EMAIL
  • FROM_EMAIL
  • FROM_NAME
  • Optional: ORDER_PREFIX, RESERVATION_EXPIRY_DAYS

Passe ADMIN_USERS an:

  • Für jeden Admin einen Eintrag mit Benutzername und Passwort-Hash hinzufügen
  • Standard-Accounts/Hashes nach dem ersten Setup ersetzen

Beispielstruktur:

define('ADMIN_USERS', [
    'admin' => '...bcrypt-hash...',
    'manager' => '...bcrypt-hash...'
]);

Generate the password: https://www.onlinewebtoolkit.com/hash-generator using the crypt functionality.