fix: support loading both .env and .env.example with reliable env parser and APP_ENV support

This commit is contained in:
2026-09-08 13:26:16 +02:00
parent f22417e6e3
commit ec233f3f9c
4 changed files with 91 additions and 36 deletions
+15
View File
@@ -0,0 +1,15 @@
# MariaDB Verbinding
DB_HOST="127.0.0.1"
DB_PORT="3306"
DB_NAME="fociz"
DB_USER="root"
DB_PASS=""
# Omgeving: 'development' (knippert rood) of 'live' (knippert groen)
APP_ENV="development"
# Applicatie URL (voor uitnodigingslinks)
APP_URL="https://uw-domein.nl"
# Applicatie Geheime Sleutel (willekeurige tekenreeks)
APP_SECRET="fociz-maria-db-super-secret-key-998877"