correction .env

This commit is contained in:
Yacine31
2024-07-25 22:37:25 +02:00
parent 7766b47821
commit c36bd6f6b5
6 changed files with 12 additions and 35 deletions

View File

@@ -14,9 +14,10 @@
#------------------------------------------------------------------------------
# inititalisation des variables d'environnement
#------------------------------------------------------------------------------
export SCRIPTS_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P)
# Nom du fichier .env
ENV_FILE=".env"
ENV_FILE=${SCRIPTS_DIR}"/.env"
# Vérifier si le fichier .env existe
if [ ! -f "$ENV_FILE" ]; then