diff --git a/.env b/.env index 092747c..d0b2d8d 100644 --- a/.env +++ b/.env @@ -5,6 +5,9 @@ DB_NAME="focizdev" DB_USER="focizdev_user" DB_PASS="F0c1z_Dev_Secure_2026!" +# Omgeving: 'development' (knippert rood) of 'live' (knippert groen) +APP_ENV="development" + # Applicatie URL (voor uitnodigingslinks) APP_URL="https://dev.fociz.nl" diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..a346f22 --- /dev/null +++ b/.env.example @@ -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" diff --git a/config/config.php b/config/config.php index 8e4677e..45bcd5d 100644 --- a/config/config.php +++ b/config/config.php @@ -1,40 +1,82 @@ @@ -66,4 +62,3 @@ $isLive = in_array(strtolower($environment), ['live', 'production', 'prod', 'mai -