Question du test Symfony 5

Remplacer le répertoire des fichiers d'environnement (DotEnv) dans Symfony

Intermédiaire

Dans une application Symfony 5, comment pouvez-vous personnaliser le chemin du fichier .env ?

Auteur: Vincent CotroStatut : Publiée(Mise à jour)Question passée 335 fois
Modifier
1
Évaluations de la communauté
developer avatar
djo
11/02/2024
using SymfonyRuntime ?
developer avatar
Auteur anonyme
13/02/2024
What do you mean ?
developer avatar
djo
14/02/2024
i mean , we can override the env path by using the SymfonyRuntime https://symfony.com/doc/current/components/runtime.html#using-options otherwise I don't see any other possible solutions